#CDC25B
Closest named color: Greenish Tan (#BCCB7A). oklch(80.3% 0.125 103.2), rgb(205, 194, 91).
Aa
Black text reads best on this color (11.46:1).
About this color
#CDC25B is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.125 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Greenish Tan (#BCCB7A), ΔE 0.035 away. Black text reads best on it, at 11.46:1.
| Hue family | Yellows |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.125) |
| Temperature | warm |
| Nearest name | Greenish Tan (#BCCB7A) |
| Black text | 11.46:1 |
| White text | 1.83:1 |
Values
| HEX | #CDC25B |
| RGB | rgb(205, 194, 91) |
| HSL | hsl(54, 53%, 58%) |
| OKLCH | oklch(80.3% 0.125 103.2) |
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 #CDC25B | 1.83:1 | Fails | Lc -38.4 | Non-text elements, placeholder text |
| Black text on #CDC25B | 11.46:1 | AAA | Lc 69.6 | Content text, not long reading |
| #CDC25B text on white | 1.83:1 | Fails | Lc 34.2 | Non-text elements, placeholder text |
| #CDC25B text on black | 11.46:1 | AAA | Lc -68.3 | 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
#EEEBD0
oklch(93.5% 0.036 101.9)
-
Step 200
200
#E1DCA7
oklch(88.6% 0.069 103.2)
-
Step 300
300 (this color)
#CDC25B
oklch(80.3% 0.125 103.2)
-
Step 400
400
#B2A300
oklch(70.6% 0.148 102.9)
-
Step 500
500
#988C00
oklch(63.1% 0.133 103.5)
-
Step 600
600
#807500
oklch(55.5% 0.117 103)
-
Step 700
700
#6C6300
oklch(49.3% 0.104 103.3)
-
Step 800
800
#585000
oklch(42.6% 0.089 102.9)
-
Step 900
900
#494300
oklch(37.7% 0.08 103.8)
-
Step 950
950
#2C2700
oklch(27% 0.057 102.1)
#CDC25B 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) | #D1BC51 | 0.015 |
| Deuteranopia (no green cones) | #D5C260 | 0.013 |
| Tritanopia (no blue cones) | #DBB6AB | 0.115 |
| Achromatopsia (no color) | #BFBFBF | 0.125 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CDC25B
#CDC25B
oklch(80.3% 0.125 103.2)
- #B5B6FF
#B5B6FF
oklch(80.2% 0.103 283.2)
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 #CDC25B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Greenish Tan #BCCB7A ΔE 0.035
- Mustard Yellow #D2BD0A ΔE 0.041
- Greenish Beige #C9D179 ΔE 0.041
- Pale Olive #B9CC81 ΔE 0.043
- Dark Yellow #D5B60A ΔE 0.044
- Dark Khaki #BDB76B ΔE 0.044
- Sand #E2CA76 ΔE 0.046
- Saffron #E9C46A ΔE 0.047
Use #CDC25B 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.