Tailwind CSS v4 default palette
Tailwind amber-600: #E17100
In Tailwind CSS v4, amber-600 is defined as --color-amber-600: oklch(66.6% 0.179 58.318), which is #E17100 in hex and rgb(225, 113, 0): a medium, vivid orange. In Tailwind v3, amber-600 was #D97706.
In OKLCH, amber-600 has a lightness of 66.6%, chroma 0.179 and hue 58.3°.
This OKLCH value lies outside sRGB. The hex #E17100 is the sRGB fallback from the CSS Color 4 gamut mapping algorithm; on Display P3 screens browsers show a more saturated color, close to color(display-p3 0.8271 0.4672 0.0336).
In v3, amber-600 was #D97706. The v4 value is ΔE OK 2.2 away; v4 is more saturated.
Tailwind amber sits between orange and yellow and is the conventional warning color; its light shades make readable callout backgrounds.
Color codes for amber-600
| Tailwind v4 token | --color-amber-600 |
|---|---|
| OKLCH (source value) | oklch(66.6% 0.179 58.318) |
| HEX | #E17100 |
| RGB | rgb(225, 113, 0) |
| HSL | hsl(30, 100%, 44%) |
| HWB | hwb(30 0% 12%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 50%, 100%, 12%) |
| Decimal | 14,774,528 |
| Display P3 | color(display-p3 0.8271 0.4672 0.0336) |
| Tailwind v3 hex | #D97706 |
| Utility classes | bg-amber-600, text-amber-600, border-amber-600 |
Tailwind amber scale
Contrast and accessibility
On amber-600, black text has a contrast ratio of 6.56:1 and passes AA for normal text; white text reaches 3.19:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on amber-600 | 6.56:1 | Pass | Pass | Fail | Pass | 45.5 |
| White text on amber-600 | 3.19:1 | Fail | Pass | Fail | Fail | −63.9 |
| Amber-600 text on white | 3.19:1 | Fail | Pass | Fail | Fail | 58.5 |
| Amber-600 text on black | 6.56:1 | Pass | Pass | Fail | Pass | −43.2 |
Tints and shades
Each step mixes var(--color-amber-600) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-amber-600), white 25%) in CSS.
Tints (mixed with white)
- 5%
#e3780d - 15%
#e68626 - 25%
#e99540 - 35%
#eca359 - 45%
#efb173 - 55%
#f2bf8c - 65%
#f5cda6 - 75%
#f8dcbf - 85%
#fbead9 - 95%
#fef8f2
Shades (mixed with black)
- 5%
#d66b00 - 15%
#bf6000 - 25%
#a95500 - 35%
#924900 - 45%
#7c3e00 - 55%
#653300 - 65%
#4f2800 - 75%
#381c00 - 85%
#221100 - 95%
#0b0600
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, amber-600's complementary color is #009FF1 (close to dodgerblue), its analogous colors are #EE5F51 and #BB8C00, and its triadic partners are #00AF95 and #A376F1. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #009ff1 |
| Analogous | −30°, +30° | #ee5f51#bb8c00 |
| Triadic | +120°, +240° | #00af95#a376f1 |
| Split-complementary | +150°, +210° | #00a9bf#668bff |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
Tailwind amber-600 is a warm color: its hue is 30° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| chocolate | #d2691e | 4.6 |
| peru | #cd853f | 5.8 |
| darkgoldenrod | #b8860b | 7.9 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| yellow-600 | #d08700 | 5.7 |
| orange-500 | #ff6900 | 6.3 |
| orange-600 | #f54900 | 7.6 |
Code snippets
<div class="bg-amber-600 text-black">...</div>
<p class="text-amber-600 border-amber-600">...</p>.element {
color: var(--color-amber-600);
background-color: oklch(66.6% 0.179 58.318);
border-color: #e17100;
outline-color: rgb(225 113 0);
}import SwiftUI
extension Color {
static let amber600 = Color(red: 0.882, green: 0.443, blue: 0.000)
}import androidx.compose.ui.graphics.Color
val Amber600 = Color(0xFFE17100)import 'package:flutter/material.dart';
const amber600 = Color(0xFFE17100);<!-- res/values/colors.xml -->
<color name="amber_600">#E17100</color>Frequently asked questions
- What is the hex code for Tailwind amber-600?
- In Tailwind CSS v4, amber-600 is oklch(66.6% 0.179 58.318), which converts to #E17100 (rgb(225, 113, 0)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #D97706.
- What is the difference between amber-600 in Tailwind v3 and v4?
- v3 used the hex #D97706; v4 redefined the palette in OKLCH as oklch(66.6% 0.179 58.318). In v3, amber-600 was #D97706. The v4 value is ΔE OK 2.2 away; v4 is more saturated.
- How do I use amber-600 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-amber-600). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on amber-600?
- White text on amber-600 has a contrast ratio of 3.19:1, which passes AA only for large text (24 px, or 18.66 px bold, and up) under WCAG 2.2. Black text reaches 6.56:1 and passes AA for normal text but not AAA. In APCA terms that is Lc −63.9 for white and Lc 45.5 for black.
- Which CSS named color is closest to amber-600?
- The closest is chocolate (#D2691E) at ΔE OK 4.6, followed by peru and darkgoldenrod.
Last reviewed by Arielton Oberek.