#CCD12F
Closest named color: Mustard Yellow (#D2BD0A). oklch(83% 0.171 111.4), rgb(204, 209, 47).
Aa
Black text reads best on this color (12.72:1).
About this color
#CCD12F is a light, vivid yellow. In OKLCH its lightness is 83%, its chroma 0.171 and its hue 111°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.049 away. Black text reads best on it, at 12.72:1.
| Hue family | Yellows |
| Lightness | light (83%) |
| Chroma | vivid (0.171) |
| Temperature | in between |
| Nearest name | Mustard Yellow (#D2BD0A) |
| Black text | 12.72:1 |
| White text | 1.64:1 |
Values
| HEX | #CCD12F |
| RGB | rgb(204, 209, 47) |
| HSL | hsl(62, 64%, 50%) |
| OKLCH | oklch(83% 0.171 111.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 #CCD12F | 1.64:1 | Fails | Lc -32.2 | Non-text elements, placeholder text |
| Black text on #CCD12F | 12.72:1 | AAA | Lc 75.2 | Fine for body text |
| #CCD12F text on white | 1.64:1 | Fails | Lc 28.6 | Dividers and decoration only |
| #CCD12F text on black | 12.72:1 | AAA | Lc -74.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
#F6F7E6
oklch(97.1% 0.022 109.5)
-
Step 100
100
#EAEEC8
oklch(93.6% 0.05 112.2)
-
Step 200
200
#DBE096
oklch(88.6% 0.095 111.5)
-
Step 300
300 (this color)
#CCD12F
oklch(83% 0.171 111.4)
-
Step 400
400
#A5A900
oklch(70.8% 0.156 111.5)
-
Step 500
500
#8D9000
oklch(63% 0.139 111.3)
-
Step 600
600
#767900
oklch(55.5% 0.122 111.5)
-
Step 700
700
#636600
oklch(49.1% 0.109 111.8)
-
Step 800
800
#515300
oklch(42.6% 0.094 111.4)
-
Step 900
900
#434500
oklch(37.6% 0.083 111.6)
-
Step 950
950
#282900
oklch(27.1% 0.06 111.2)
#CCD12F 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) | #E2C700 | 0.036 |
| Deuteranopia (no green cones) | #E2CB3E | 0.038 |
| Tritanopia (no blue cones) | #DAC4B3 | 0.152 |
| Achromatopsia (no color) | #C9C9C9 | 0.171 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CCD12F
#CCD12F
oklch(83% 0.171 111.4)
- #C8BDFF
#C8BDFF
oklch(83% 0.092 291.9)
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 #CCD12F, closest first.
No curated palette has a color within ΔE 0.04 of #CCD12F.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mustard Yellow #D2BD0A ΔE 0.049
- Greenish Beige #C9D179 ΔE 0.059
- Pale Olive Green #B1D27B ΔE 0.064
- Dull Yellow #EEDC5B ΔE 0.066
- Yellow Green #9ACD32 ΔE 0.067
- Dark Yellow #D5B60A ΔE 0.067
- Maize #F4D054 ΔE 0.067
- Greenish Tan #BCCB7A ΔE 0.068
Use #CCD12F 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.