#CEC866
Closest named color: Greenish Beige (#C9D179). oklch(81.7% 0.121 105.6), rgb(206, 200, 102).
Aa
Black text reads best on this color (12.07:1).
About this color
#CEC866 is a light, moderately saturated yellow. In OKLCH its lightness is 82%, its chroma 0.121 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.025 away. Black text reads best on it, at 12.07:1.
| Hue family | Yellows |
| Lightness | light (82%) |
| Chroma | moderately saturated (0.121) |
| Temperature | warm |
| Nearest name | Greenish Beige (#C9D179) |
| Black text | 12.07:1 |
| White text | 1.73:1 |
Values
| HEX | #CEC866 |
| RGB | rgb(206, 200, 102) |
| HSL | hsl(57, 51%, 60%) |
| OKLCH | oklch(81.7% 0.121 105.6) |
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 #CEC866 | 1.73:1 | Fails | Lc -35.4 | Non-text elements, placeholder text |
| Black text on #CEC866 | 12.07:1 | AAA | Lc 72.3 | Content text, not long reading |
| #CEC866 text on white | 1.73:1 | Fails | Lc 31.5 | Non-text elements, placeholder text |
| #CEC866 text on black | 12.07:1 | AAA | Lc -71.2 | 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
#F7F6EA
oklch(97.1% 0.016 102.8)
-
Step 100
100
#EDECD1
oklch(93.7% 0.036 105.3)
-
Step 200
200
#DFDCA9
oklch(88.4% 0.067 104.9)
-
Step 300
300 (this color)
#CEC866
oklch(81.7% 0.121 105.6)
-
Step 400
400
#AEA500
oklch(70.7% 0.151 105.7)
-
Step 500
500
#958D00
oklch(63% 0.134 105.6)
-
Step 600
600
#7D7700
oklch(55.7% 0.119 106.2)
-
Step 700
700
#696300
oklch(49% 0.104 105.5)
-
Step 800
800
#565100
oklch(42.6% 0.091 105.5)
-
Step 900
900
#484400
oklch(37.8% 0.081 105.9)
-
Step 950
950
#2A2800
oklch(27% 0.058 106.8)
#CEC866 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) | #D6C25D | 0.017 |
| Deuteranopia (no green cones) | #D9C66B | 0.018 |
| Tritanopia (no blue cones) | #DBBDB2 | 0.110 |
| Achromatopsia (no color) | #C4C4C4 | 0.121 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CEC866
#CEC866
oklch(81.7% 0.121 105.6)
- #BDBBFF
#BDBBFF
oklch(81.8% 0.095 285.4)
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 #CEC866, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Greenish Beige #C9D179 ΔE 0.025
- Greenish Tan #BCCB7A ΔE 0.028
- Pale Olive #B9CC81 ΔE 0.035
- Sand #E2CA76 ΔE 0.036
- Saffron #E9C46A ΔE 0.041
- Pale Olive Green #B1D27B ΔE 0.042
- Mustard Yellow #D2BD0A ΔE 0.051
- Light Moss Green #A6C875 ΔE 0.053
Use #CEC866 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.