#CCB043#CCB043
#CCB043 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.130 H 94.6°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB043 |
|---|---|
| RGB | rgb(204, 176, 67) |
| HSL | hsl(48, 57%, 53%) |
| HSV | hsv(48, 67%, 80%) |
| CMYK | cmyk(0%, 13.7%, 67.2%, 20%) |
| CIE-LAB | lab(72.43, -2.00, 57.44) |
| CIE-LCH | lch(72.43, 57.47, 91.99°) |
| OKLab | oklab(76.17% -0.0104 0.1295) |
| OKLCH | oklch(76.17% 0.13 94.6) |
| XYZ | xyz(41.4423, 44.2955, 11.6761) |
| Luminance | 0.4429 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.03
Brownish Yellow
#C9B003
ΔE00 4.43
Mustard (survey)
#CEB301
ΔE00 4.62
Dark Yellow
#D5B60A
ΔE00 4.81
Desert
#CCAD60
ΔE00 4.98
Muddy Yellow
#BFAC05
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB043 #435FCC
analogous
#CC6B43 #CCB043 #A3CC43
triadic
#CCB043 #43CCB0 #B043CC
tetradic
#CCB043 #43CC6B #435FCC #CC43A3
square
#CCB043 #43CC6B #435FCC #CC43A3
split-complementary
#CCB043 #43A3CC #6B43CC
monochromatic
#756320 #A58C2D #CCB043 #D9C473 #E6D8A3
Accessibility & contrast
On white
2.13
#CCB043 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#CCB043 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB043
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB043 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB043 | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD35
Deuteranopia (green-blind)
#C9B549
Tritanopia (blue-blind)
#DCA399
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ccb043; /* rgb */ color: rgb(204, 176, 67); /* oklch */ color: oklch(76.2% 0.130 94.6);
Tailwind
colors: {
custom: {
50: '#dfc77d',
500: '#ccb043',
950: '#000000',
},
}SCSS
$custom: #ccb043; $custom-light: #dfc77d; $custom-dark: #000000;
JSON
{
"hex": "#ccb043",
"rgb": {
"r": 204,
"g": 176,
"b": 67
},
"hsl": {
"h": 47.737,
"s": 57.322,
"l": 53.137
},
"oklch": {
"l": 0.76167,
"c": 0.12994,
"h": 94.6
},
"luminance": 0.44293
}Semantic roles & 50–950 ramp
primary
#CCB043
secondary
#98A4D3
accent
#67E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C