#CCD334
Closest named color: Mustard Yellow (#D2BD0A). oklch(83.5% 0.17 112.2), rgb(204, 211, 52).
Aa
Black text reads best on this color (12.93:1).
About this color
#CCD334 is a light, vivid yellow. In OKLCH its lightness is 83%, its chroma 0.170 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.054 away. Black text reads best on it, at 12.93:1.
| Hue family | Yellows |
| Lightness | light (83%) |
| Chroma | vivid (0.170) |
| Temperature | in between |
| Nearest name | Mustard Yellow (#D2BD0A) |
| Black text | 12.93:1 |
| White text | 1.62:1 |
Values
| HEX | #CCD334 |
| RGB | rgb(204, 211, 52) |
| HSL | hsl(63, 64%, 52%) |
| OKLCH | oklch(83.5% 0.17 112.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 #CCD334 | 1.62:1 | Fails | Lc -31.3 | Non-text elements, placeholder text |
| Black text on #CCD334 | 12.93:1 | AAA | Lc 76.1 | Fine for body text |
| #CCD334 text on white | 1.62:1 | Fails | Lc 27.7 | Dividers and decoration only |
| #CCD334 text on black | 12.93:1 | AAA | Lc -75.2 | Fine for body text |
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
#F5F7E6
oklch(97% 0.022 112.3)
-
Step 100
100
#EAEEC8
oklch(93.6% 0.05 112.2)
-
Step 200
200
#DAE097
oklch(88.5% 0.094 112.1)
-
Step 300
300 (this color)
#CCD334
oklch(83.5% 0.17 112.2)
-
Step 400
400
#A4A900
oklch(70.7% 0.156 111.9)
-
Step 500
500
#8C9100
oklch(63.1% 0.14 112.2)
-
Step 600
600
#757A00
oklch(55.6% 0.124 112.6)
-
Step 700
700
#636600
oklch(49.1% 0.109 111.8)
-
Step 800
800
#515400
oklch(42.9% 0.095 112.1)
-
Step 900
900
#434500
oklch(37.6% 0.083 111.6)
-
Step 950
950
#272900
oklch(27% 0.06 112.6)
#CCD334 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) | #E3C908 | 0.037 |
| Deuteranopia (no green cones) | #E4CD42 | 0.040 |
| Tritanopia (no blue cones) | #DAC6B5 | 0.151 |
| Achromatopsia (no color) | #CBCBCB | 0.170 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CCD334
#CCD334
oklch(83.5% 0.17 112.2)
- #CABFFF
#CABFFF
oklch(83.6% 0.089 292.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 #CCD334, closest first.
No curated palette has a color within ΔE 0.04 of #CCD334.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mustard Yellow #D2BD0A ΔE 0.054
- Greenish Beige #C9D179 ΔE 0.058
- Dull Yellow #EEDC5B ΔE 0.063
- Pale Olive Green #B1D27B ΔE 0.063
- Maize #F4D054 ΔE 0.066
- Yellow Green #9ACD32 ΔE 0.068
- Greenish Tan #BCCB7A ΔE 0.069
- Golden #F5BF03 ΔE 0.071
Use #CCD334 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.