#CCC398
Closest named color: Ash Gray (#BFC8AD). oklch(81.4% 0.058 97.6), rgb(204, 195, 152).
Aa
Black text reads best on this color (11.82:1).
About this color
#CCC398 is a light, muted yellow. In OKLCH its lightness is 81%, its chroma 0.058 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.029 away. Black text reads best on it, at 11.82:1.
| Hue family | Yellows |
| Lightness | light (81%) |
| Chroma | muted (0.058) |
| Temperature | warm |
| Nearest name | Ash Gray (#BFC8AD) |
| Black text | 11.82:1 |
| White text | 1.77:1 |
Values
| HEX | #CCC398 |
| RGB | rgb(204, 195, 152) |
| HSL | hsl(50, 34%, 70%) |
| OKLCH | oklch(81.4% 0.058 97.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 #CCC398 | 1.77:1 | Fails | Lc -36.7 | Non-text elements, placeholder text |
| Black text on #CCC398 | 11.82:1 | AAA | Lc 71.2 | Content text, not long reading |
| #CCC398 text on white | 1.77:1 | Fails | Lc 32.7 | Non-text elements, placeholder text |
| #CCC398 text on black | 11.82:1 | AAA | Lc -70.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
#F7F6F0
oklch(97.2% 0.008 98.9)
-
Step 100
100
#EDEADE
oklch(93.6% 0.016 95.2)
-
Step 200
200
#DFDAC2
oklch(88.6% 0.033 97.3)
-
Step 300
300 (this color)
#CCC398
oklch(81.4% 0.058 97.6)
-
Step 400
400
#B0A15A
oklch(70.6% 0.093 97.7)
-
Step 500
500
#9D8922
oklch(63% 0.119 97.6)
-
Step 600
600
#867300
oklch(55.7% 0.115 97.6)
-
Step 700
700
#716000
oklch(49.1% 0.101 97)
-
Step 800
800
#5C4F00
oklch(42.8% 0.088 98.3)
-
Step 900
900
#4D4100
oklch(37.6% 0.078 97.3)
-
Step 950
950
#2D2606
oklch(26.9% 0.048 96.7)
#CCC398 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) | #CCC095 | 0.008 |
| Deuteranopia (no green cones) | #CEC499 | 0.004 |
| Tritanopia (no blue cones) | #D4BDB7 | 0.052 |
| Achromatopsia (no color) | #C2C2C2 | 0.058 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CCC398
#CCC398
oklch(81.4% 0.058 97.6)
- #B8BFE8
#B8BFE8
oklch(81.3% 0.058 277.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 #CCC398, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Ash Gray #BFC8AD ΔE 0.029
- Very Light Brown #D3B683 ΔE 0.035
- Burlywood #DEB887 ΔE 0.036
- Tan #D2B48C ΔE 0.037
- Pale Oak #DBCFB0 ΔE 0.046
- Pale Olive #B9CC81 ΔE 0.052
- Fawn #CFAF7B ΔE 0.052
- Greenish Tan #BCCB7A ΔE 0.055
Use #CCC398 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.