#CCB03F#CCB03F
#CCB03F is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.133 H 95.0°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB03F |
|---|---|
| RGB | rgb(204, 176, 63) |
| HSL | hsl(48, 58%, 52%) |
| HSV | hsv(48, 69%, 80%) |
| CMYK | cmyk(0%, 13.7%, 69.1%, 20%) |
| CIE-LAB | lab(72.39, -2.22, 59.07) |
| CIE-LCH | lch(72.39, 59.11, 92.15°) |
| OKLab | oklab(76.13% -0.0115 0.1323) |
| OKLCH | oklch(76.13% 0.133 95) |
| XYZ | xyz(41.3264, 44.2491, 11.0658) |
| Luminance | 0.4425 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.80
Brownish Yellow
#C9B003
ΔE00 3.98
Mustard (survey)
#CEB301
ΔE00 4.17
Dark Yellow
#D5B60A
ΔE00 4.39
Muddy Yellow
#BFAC05
ΔE00 4.65
Burnt Yellow
#D5AB09
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB03F #3F5BCC
analogous
#CC693F #CCB03F #A2CC3F
triadic
#CCB03F #3FCCB0 #B03FCC
tetradic
#CCB03F #3FCC69 #3F5BCC #CC3FA2
square
#CCB03F #3FCC69 #3F5BCC #CC3FA2
split-complementary
#CCB03F #3FA2CC #693FCC
monochromatic
#72621E #A38B2B #CCB03F #D9C46F #E6D8A0
Accessibility & contrast
On white
2.13
#CCB03F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#CCB03F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB03F
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB03F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB03F | 1.00 | 2.13 | 9.85 | 9.85 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD30
Deuteranopia (green-blind)
#C9B545
Tritanopia (blue-blind)
#DCA399
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ccb03f; /* rgb */ color: rgb(204, 176, 63); /* oklch */ color: oklch(76.1% 0.133 95.0);
Tailwind
colors: {
custom: {
50: '#dfc77a',
500: '#ccb03f',
950: '#000000',
},
}SCSS
$custom: #ccb03f; $custom-light: #dfc77a; $custom-dark: #000000;
JSON
{
"hex": "#ccb03f",
"rgb": {
"r": 204,
"g": 176,
"b": 63
},
"hsl": {
"h": 48.085,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.76133,
"c": 0.1328,
"h": 95
},
"luminance": 0.44247
}Semantic roles & 50–950 ramp
primary
#CCB03F
secondary
#95A1D2
accent
#65E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C