#CCB049#CCB049
#CCB049 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.125 H 94.0°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB049 |
|---|---|
| RGB | rgb(204, 176, 73) |
| HSL | hsl(47, 56%, 54%) |
| HSV | hsv(47, 64%, 80%) |
| CMYK | cmyk(0%, 13.7%, 64.2%, 20%) |
| CIE-LAB | lab(72.48, -1.64, 54.89) |
| CIE-LCH | lch(72.48, 54.92, 91.71°) |
| OKLab | oklab(76.22% -0.0087 0.1251) |
| OKLCH | oklch(76.22% 0.125 94) |
| XYZ | xyz(41.6317, 44.3712, 12.6737) |
| Luminance | 0.4437 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.27
Mustard
#DBB42C
ΔE00 4.46
Brownish Yellow
#C9B003
ΔE00 5.17
Mustard (survey)
#CEB301
ΔE00 5.35
Dark Yellow
#D5B60A
ΔE00 5.49
Burnt Yellow
#D5AB09
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB049 #4965CC
analogous
#CC6F49 #CCB049 #A6CC49
triadic
#CCB049 #49CCB0 #B049CC
tetradic
#CCB049 #49CC6F #4965CC #CC49A6
square
#CCB049 #49CC6F #4965CC #CC49A6
split-complementary
#CCB049 #49A6CC #6F49CC
monochromatic
#796622 #A98F2F #CCB049 #D9C579 #E7DAA9
Accessibility & contrast
On white
2.13
#CCB049 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#CCB049 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB049
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB049 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB049 | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AD3D
Deuteranopia (green-blind)
#C8B54E
Tritanopia (blue-blind)
#DCA39A
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ccb049; /* rgb */ color: rgb(204, 176, 73); /* oklch */ color: oklch(76.2% 0.125 94.0);
Tailwind
colors: {
custom: {
50: '#dfc780',
500: '#ccb049',
950: '#000000',
},
}SCSS
$custom: #ccb049; $custom-light: #dfc780; $custom-dark: #000000;
JSON
{
"hex": "#ccb049",
"rgb": {
"r": 204,
"g": 176,
"b": 73
},
"hsl": {
"h": 47.176,
"s": 56.223,
"l": 54.314
},
"oklch": {
"l": 0.76223,
"c": 0.12537,
"h": 94
},
"luminance": 0.44369
}Semantic roles & 50–950 ramp
primary
#CCB049
secondary
#9DA8D4
accent
#69E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C