#CCB04E#CCB04E
#CCB04E is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.121 H 93.4°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB04E |
|---|---|
| RGB | rgb(204, 176, 78) |
| HSL | hsl(47, 55%, 55%) |
| HSV | hsv(47, 62%, 80%) |
| CMYK | cmyk(0%, 13.7%, 61.8%, 20%) |
| CIE-LAB | lab(72.52, -1.31, 52.69) |
| CIE-LCH | lch(72.52, 52.71, 91.43°) |
| OKLab | oklab(76.27% -0.0071 0.1211) |
| OKLCH | oklch(76.27% 0.121 93.4) |
| XYZ | xyz(41.8042, 44.4402, 13.5821) |
| Luminance | 0.4444 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.64
Mustard
#DBB42C
ΔE00 4.91
Sandy Brown
#C4A661
ΔE00 5.50
Tan (survey)
#D1B26F
ΔE00 5.59
Brownish Yellow
#C9B003
ΔE00 5.83
Burnt Yellow
#D5AB09
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB04E #4E6ACC
analogous
#CC714E #CCB04E #A9CC4E
triadic
#CCB04E #4ECCB0 #B04ECC
tetradic
#CCB04E #4ECC71 #4E6ACC #CC4EA9
square
#CCB04E #4ECC71 #4E6ACC #CC4EA9
split-complementary
#CCB04E #4EA9CC #714ECC
monochromatic
#7C6824 #AB9031 #CCB04E #DAC57E #E7DAAD
Accessibility & contrast
On white
2.12
#CCB04E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#CCB04E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB04E
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB04E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB04E | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AD43
Deuteranopia (green-blind)
#C8B552
Tritanopia (blue-blind)
#DBA39B
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ccb04e; /* rgb */ color: rgb(204, 176, 78); /* oklch */ color: oklch(76.3% 0.121 93.4);
Tailwind
colors: {
custom: {
50: '#dfc783',
500: '#ccb04e',
950: '#000000',
},
}SCSS
$custom: #ccb04e; $custom-light: #dfc783; $custom-dark: #000000;
JSON
{
"hex": "#ccb04e",
"rgb": {
"r": 204,
"g": 176,
"b": 78
},
"hsl": {
"h": 46.667,
"s": 55.263,
"l": 55.294
},
"oklch": {
"l": 0.76274,
"c": 0.12131,
"h": 93.4
},
"luminance": 0.44438
}Semantic roles & 50–950 ramp
primary
#CCB04E
secondary
#A1ACD5
accent
#6ADF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C