#CCBD28
Closest named color: Mustard Yellow (#D2BD0A). oklch(78.7% 0.156 103.2), rgb(204, 189, 40).
Aa
Black text reads best on this color (10.87:1).
About this color
#CCBD28 is a light, vivid yellow. In OKLCH its lightness is 79%, its chroma 0.156 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.011 away. Black text reads best on it, at 10.87:1.
| Hue family | Yellows |
| Lightness | light (79%) |
| Chroma | vivid (0.156) |
| Temperature | warm |
| Nearest name | Mustard Yellow (#D2BD0A) |
| Black text | 10.87:1 |
| White text | 1.93:1 |
Values
| HEX | #CCBD28 |
| RGB | rgb(204, 189, 40) |
| HSL | hsl(55, 67%, 48%) |
| OKLCH | oklch(78.7% 0.156 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 #CCBD28 | 1.93:1 | Fails | Lc -41.1 | Non-text elements, placeholder text |
| Black text on #CCBD28 | 10.87:1 | AAA | Lc 67.1 | Content text, not long reading |
| #CCBD28 text on white | 1.93:1 | Fails | Lc 36.8 | Non-text elements, placeholder text |
| #CCBD28 text on black | 10.87:1 | AAA | Lc -65.6 | 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
#F8F6E7
oklch(97.1% 0.02 100.6)
-
Step 100
100
#EFECCA
oklch(93.7% 0.045 103.1)
-
Step 200
200
#E3DC99
oklch(88.4% 0.086 102.9)
-
Step 300
300 (this color)
#CCBD28
oklch(78.7% 0.156 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)
#CCBD28 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) | #CFB700 | 0.015 |
| Deuteranopia (no green cones) | #D4BE35 | 0.015 |
| Tritanopia (no blue cones) | #DCAFA2 | 0.143 |
| Achromatopsia (no color) | #BABABA | 0.156 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CCBD28
#CCBD28
oklch(78.7% 0.156 103.2)
- #B0B0FF
#B0B0FF
oklch(78.7% 0.112 283.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 #CCBD28, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mustard Yellow #D2BD0A ΔE 0.011
- Dark Yellow #D5B60A ΔE 0.020
- Olive Yellow #C2B709 ΔE 0.024
- Mustard #CEB301 ΔE 0.025
- Burnt Yellow #D5AB09 ΔE 0.045
- Muddy Yellow #BFAC05 ΔE 0.049
- Pea #A4BF20 ΔE 0.057
- Light Olive #ACBF69 ΔE 0.059
Use #CCBD28 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.