#CCB03A#CCB03A
#CCB03A is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.136 H 95.4°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB03A |
|---|---|
| RGB | rgb(204, 176, 58) |
| HSL | hsl(48, 59%, 51%) |
| HSV | hsv(48, 72%, 80%) |
| CMYK | cmyk(0%, 13.7%, 71.6%, 20%) |
| CIE-LAB | lab(72.36, -2.48, 61.03) |
| CIE-LCH | lch(72.36, 61.08, 92.32°) |
| OKLab | oklab(76.09% -0.0128 0.1356) |
| OKLCH | oklch(76.09% 0.136 95.4) |
| XYZ | xyz(41.1930, 44.1957, 10.3631) |
| Luminance | 0.4419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.44
Mustard
#DBB42C
ΔE00 3.59
Mustard (survey)
#CEB301
ΔE00 3.64
Dark Yellow
#D5B60A
ΔE00 3.92
Muddy Yellow
#BFAC05
ΔE00 4.23
Gold (survey)
#DBB40C
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB03A #3A56CC
analogous
#CC673A #CCB03A #9FCC3A
triadic
#CCB03A #3ACCB0 #B03ACC
tetradic
#CCB03A #3ACC67 #3A56CC #CC3A9F
square
#CCB03A #3ACC67 #3A56CC #CC3A9F
split-complementary
#CCB03A #3A9FCC #673ACC
monochromatic
#6F5F1D #A08929 #CCB03A #D9C36B #E5D79B
Accessibility & contrast
On white
2.13
#CCB03A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.84
#CCB03A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB03A
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB03A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB03A | 1.00 | 2.13 | 9.84 | 9.84 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC28
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#DCA298
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ccb03a; /* rgb */ color: rgb(204, 176, 58); /* oklch */ color: oklch(76.1% 0.136 95.4);
Tailwind
colors: {
custom: {
50: '#dfc777',
500: '#ccb03a',
950: '#000000',
},
}SCSS
$custom: #ccb03a; $custom-light: #dfc777; $custom-dark: #000000;
JSON
{
"hex": "#ccb03a",
"rgb": {
"r": 204,
"g": 176,
"b": 58
},
"hsl": {
"h": 48.493,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.76093,
"c": 0.13615,
"h": 95.4
},
"luminance": 0.44194
}Semantic roles & 50–950 ramp
primary
#CCB03A
secondary
#919DD1
accent
#64E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B