Tailwind CSS v4 default palette
Tailwind amber-200: #FEE685
In Tailwind CSS v4, amber-200 is defined as --color-amber-200: oklch(92.4% 0.12 95.746), which is #FEE685 in hex and rgb(254, 230, 133): a very light, moderately saturated amber. In Tailwind v3, amber-200 was #FDE68A.
In OKLCH, amber-200 has a lightness of 92.4%, chroma 0.120 and hue 95.7°.
The value fits inside sRGB, so the hex #FEE685 represents it without loss on any screen.
In v3, amber-200 was #FDE68A. The v4 value is ΔE OK 0.5 away, below the point where most people can tell them apart.
Tailwind amber sits between orange and yellow and is the conventional warning color; its light shades make readable callout backgrounds.
Color codes for amber-200
| Tailwind v4 token | --color-amber-200 |
|---|---|
| OKLCH (source value) | oklch(92.4% 0.12 95.746) |
| HEX | #FEE685 |
| RGB | rgb(254, 230, 133) |
| HSL | hsl(48, 98%, 76%) |
| HWB | hwb(48 52% 0%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 9%, 48%, 0%) |
| Decimal | 16,705,157 |
| Tailwind v3 hex | #FDE68A |
| Utility classes | bg-amber-200, text-amber-200, border-amber-200 |
Tailwind amber scale
Contrast and accessibility
On amber-200, black text has a contrast ratio of 16.87:1 and passes AAA at any text size; white text reaches 1.24: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-200 | 16.87:1 | Pass | Pass | Pass | Pass | 91.5 |
| White text on amber-200 | 1.24:1 | Fail | Fail | Fail | Fail | −14.0 |
| Amber-200 text on white | 1.24:1 | Fail | Fail | Fail | Fail | 12.1 |
| Amber-200 text on black | 16.87:1 | Pass | Pass | Pass | Pass | −91.9 |
Tints and shades
Each step mixes var(--color-amber-200) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-amber-200), white 25%) in CSS.
Tints (mixed with white)
- 5%
#fee78b - 15%
#feea97 - 25%
#feeca4 - 35%
#feefb0 - 45%
#fef1bc - 55%
#fff4c8 - 65%
#fff6d4 - 75%
#fff9e1 - 85%
#fffbed - 95%
#fffef9
Shades (mixed with black)
- 5%
#f1db7e - 15%
#d8c471 - 25%
#bfad64 - 35%
#a59656 - 45%
#8c7f49 - 55%
#72673c - 65%
#59512f - 75%
#403a21 - 85%
#262314 - 95%
#0d0c07
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, amber-200's complementary color is #DBE4FF (close to lavender), its analogous colors are #FFDCAC and #D2F59B, and its triadic partners are #9BF6FF and #FFD0FD. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #dbe4ff |
| Analogous | −30°, +30° | #ffdcac#d2f59b |
| Triadic | +120°, +240° | #9bf6ff#ffd0fd |
| Split-complementary | +150°, +210° | #c5ebff#f2daff |
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-200 is a warm color: its hue is 48° 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 |
|---|---|---|
| khaki | #f0e68c | 2.0 |
| palegoldenrod | #eee8aa | 4.2 |
| navajowhite | #ffdead | 5.6 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| yellow-200 | #fff085 | 2.6 |
| lime-200 | #d8f999 | 6.3 |
| orange-200 | #ffd6a7 | 6.5 |
Code snippets
<div class="bg-amber-200 text-black">...</div>
<p class="text-amber-200 border-amber-200">...</p>.element {
color: var(--color-amber-200);
background-color: oklch(92.4% 0.12 95.746);
border-color: #fee685;
outline-color: rgb(254 230 133);
}import SwiftUI
extension Color {
static let amber200 = Color(red: 0.996, green: 0.902, blue: 0.522)
}import androidx.compose.ui.graphics.Color
val Amber200 = Color(0xFFFEE685)import 'package:flutter/material.dart';
const amber200 = Color(0xFFFEE685);<!-- res/values/colors.xml -->
<color name="amber_200">#FEE685</color>Frequently asked questions
- What is the hex code for Tailwind amber-200?
- In Tailwind CSS v4, amber-200 is oklch(92.4% 0.12 95.746), which converts to #FEE685 (rgb(254, 230, 133)) in sRGB. In Tailwind v3 the same name was #FDE68A.
- What is the difference between amber-200 in Tailwind v3 and v4?
- v3 used the hex #FDE68A; v4 redefined the palette in OKLCH as oklch(92.4% 0.12 95.746). In v3, amber-200 was #FDE68A. The v4 value is ΔE OK 0.5 away, below the point where most people can tell them apart.
- How do I use amber-200 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-amber-200). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on amber-200?
- White text on amber-200 has a contrast ratio of 1.24:1, which fails AA even for large text under WCAG 2.2. Black text reaches 16.87:1 and passes both AA and AAA. In APCA terms that is Lc −14.0 for white and Lc 91.5 for black.
- Which CSS named color is closest to amber-200?
- The closest is khaki (#F0E68C) at ΔE OK 2.0, followed by palegoldenrod and navajowhite.
Last reviewed by Arielton Oberek.