#CBC398
Closest named color: Ash Gray (#BFC8AD). oklch(81.3% 0.058 98.7), rgb(203, 195, 152).
Aa
Black text reads best on this color (11.79:1).
About this color
#CBC398 is a light, muted yellow. In OKLCH its lightness is 81%, its chroma 0.058 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.028 away. Black text reads best on it, at 11.79:1.
| Hue family | Yellows |
| Lightness | light (81%) |
| Chroma | muted (0.058) |
| Temperature | warm |
| Nearest name | Ash Gray (#BFC8AD) |
| Black text | 11.79:1 |
| White text | 1.77:1 |
Values
| HEX | #CBC398 |
| RGB | rgb(203, 195, 152) |
| HSL | hsl(51, 33%, 70%) |
| OKLCH | oklch(81.3% 0.058 98.7) |
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 #CBC398 | 1.77:1 | Fails | Lc -36.8 | Non-text elements, placeholder text |
| Black text on #CBC398 | 11.79:1 | AAA | Lc 71.0 | Content text, not long reading |
| #CBC398 text on white | 1.77:1 | Fails | Lc 32.8 | Non-text elements, placeholder text |
| #CBC398 text on black | 11.79:1 | AAA | Lc -69.8 | 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
#ECEADE
oklch(93.5% 0.016 99)
-
Step 200
200
#DEDAC2
oklch(88.5% 0.032 99.3)
-
Step 300
300 (this color)
#CBC398
oklch(81.3% 0.058 98.7)
-
Step 400
400
#AFA25B
oklch(70.8% 0.093 99.2)
-
Step 500
500
#9C8A23
oklch(63.2% 0.119 98.8)
-
Step 600
600
#857300
oklch(55.6% 0.115 98.3)
-
Step 700
700
#706100
oklch(49.2% 0.102 98.7)
-
Step 800
800
#5B4F00
oklch(42.7% 0.088 99.2)
-
Step 900
900
#4C4201
oklch(37.8% 0.078 99.4)
-
Step 950
950
#2D2706
oklch(27.2% 0.049 98.8)
#CBC398 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.005 |
| Tritanopia (no blue cones) | #D3BDB7 | 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°).
- #CBC398
#CBC398
oklch(81.3% 0.058 98.7)
- #B9BFE8
#B9BFE8
oklch(81.4% 0.058 278.5)
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 #CBC398, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Ash Gray #BFC8AD ΔE 0.028
- 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.051
- Fawn #CFAF7B ΔE 0.052
- Greenish Tan #BCCB7A ΔE 0.054
Use #CBC398 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.