#CCB030#CCB030
#CCB030 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.0% C 0.142 H 96.1°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB030 |
|---|---|
| RGB | rgb(204, 176, 48) |
| HSL | hsl(49, 62%, 49%) |
| HSV | hsv(49, 76%, 80%) |
| CMYK | cmyk(0%, 13.7%, 76.5%, 20%) |
| CIE-LAB | lab(72.30, -2.92, 64.63) |
| CIE-LCH | lch(72.30, 64.70, 92.58°) |
| OKLab | oklab(76.02% -0.0151 0.1413) |
| OKLCH | oklch(76.02% 0.142 96.1) |
| XYZ | xyz(40.9629, 44.1037, 9.1510) |
| Luminance | 0.4410 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.51
Mustard (survey)
#CEB301
ΔE00 2.71
Dark Yellow
#D5B60A
ΔE00 3.13
Mustard
#DBB42C
ΔE00 3.38
Muddy Yellow
#BFAC05
ΔE00 3.56
Gold (survey)
#DBB40C
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB030 #304CCC
analogous
#CC6230 #CCB030 #9ACC30
triadic
#CCB030 #30CCB0 #B030CC
tetradic
#CCB030 #30CC62 #304CCC #CC309A
square
#CCB030 #30CC62 #304CCC #CC309A
split-complementary
#CCB030 #309ACC #6230CC
monochromatic
#695B19 #9A8524 #CCB030 #DAC460 #E5D691
Accessibility & contrast
On white
2.14
#CCB030 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#CCB030 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB030
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB030 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB030 | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC16
Deuteranopia (green-blind)
#CAB538
Tritanopia (blue-blind)
#DDA298
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ccb030; /* rgb */ color: rgb(204, 176, 48); /* oklch */ color: oklch(76.0% 0.142 96.1);
Tailwind
colors: {
custom: {
50: '#e0c772',
500: '#ccb030',
950: '#000000',
},
}SCSS
$custom: #ccb030; $custom-light: #e0c772; $custom-dark: #000000;
JSON
{
"hex": "#ccb030",
"rgb": {
"r": 204,
"g": 176,
"b": 48
},
"hsl": {
"h": 49.231,
"s": 61.905,
"l": 49.412
},
"oklch": {
"l": 0.76025,
"c": 0.14208,
"h": 96.1
},
"luminance": 0.44101
}Semantic roles & 50–950 ramp
primary
#CCB030
secondary
#8895D0
accent
#60E543
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161308
muted
#84827B