#CEC799
Closest named color: Ash Gray (#BFC8AD). oklch(82.4% 0.062 100.4), rgb(206, 199, 153).
Aa
Black text reads best on this color (12.25:1).
About this color
#CEC799 is a light, muted yellow. In OKLCH its lightness is 82%, its chroma 0.062 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.030 away. Black text reads best on it, at 12.25:1.
| Hue family | Yellows |
| Lightness | light (82%) |
| Chroma | muted (0.062) |
| Temperature | warm |
| Nearest name | Ash Gray (#BFC8AD) |
| Black text | 12.25:1 |
| White text | 1.71:1 |
Values
| HEX | #CEC799 |
| RGB | rgb(206, 199, 153) |
| HSL | hsl(52, 35%, 70%) |
| OKLCH | oklch(82.4% 0.062 100.4) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #CEC799 | 1.71:1 | Fails | Lc -34.6 | Non-text elements, placeholder text |
| Black text on #CEC799 | 12.25:1 | AAA | Lc 73.0 | Content text, not long reading |
| #CEC799 text on white | 1.71:1 | Fails | Lc 30.8 | Non-text elements, placeholder text |
| #CEC799 text on black | 12.25:1 | AAA | Lc -72.0 | Content text, not long reading |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.
-
Step 50
50
#F6F6EF
oklch(97.1% 0.009 106.6)
-
Step 100
100
#ECEADD
oklch(93.5% 0.017 99.6)
-
Step 200
200
#DEDAC1
oklch(88.5% 0.034 99.6)
-
Step 300
300 (this color)
#CEC799
oklch(82.4% 0.062 100.4)
-
Step 400
400
#AEA256
oklch(70.6% 0.098 100.5)
-
Step 500
500
#9B8A15
oklch(63% 0.126 100.1)
-
Step 600
600
#837400
oklch(55.6% 0.116 100.3)
-
Step 700
700
#6E6100
oklch(49% 0.102 100.2)
-
Step 800
800
#5A5000
oklch(42.8% 0.089 101.1)
-
Step 900
900
#4B4200
oklch(37.7% 0.078 100.6)
-
Step 950
950
#2C2703
oklch(27% 0.053 101.4)
#CEC799 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #D0C496 | 0.008 |
| Deuteranopia (no green cones) | #D2C79B | 0.007 |
| Tritanopia (no blue cones) | #D6C1BB | 0.055 |
| Achromatopsia (no color) | #C6C6C6 | 0.062 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CEC799
#CEC799
oklch(82.4% 0.062 100.4)
- #BDC2ED
#BDC2ED
oklch(82.4% 0.061 279.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CEC799, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Ash Gray #BFC8AD ΔE 0.030
- Pale Oak #DBCFB0 ΔE 0.038
- Burlywood #DEB887 ΔE 0.041
- Very Light Brown #D3B683 ΔE 0.043
- Tan #D2B48C ΔE 0.047
- Pale Olive #B9CC81 ΔE 0.049
- Sand #E2CA76 ΔE 0.050
- Greenish Tan #BCCB7A ΔE 0.052
Use #CEC799 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.