#CCAB3F#CCAB3F
#CCAB3F is a light, vivid yellow. Relative luminance 0.423; OKLCH L 75.1% C 0.130 H 91.7°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAB3F |
|---|---|
| RGB | rgb(204, 171, 63) |
| HSL | hsl(46, 58%, 52%) |
| HSV | hsv(46, 69%, 80%) |
| CMYK | cmyk(0%, 16.2%, 69.1%, 20%) |
| CIE-LAB | lab(71.09, 0.42, 57.74) |
| CIE-LCH | lch(71.09, 57.74, 89.58°) |
| OKLab | oklab(75.11% -0.0039 0.1295) |
| OKLCH | oklch(75.11% 0.13 91.7) |
| XYZ | xyz(40.3641, 42.3244, 10.7450) |
| Luminance | 0.4232 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.98
Burnt Yellow
#D5AB09
ΔE00 4.22
Desert
#CCAD60
ΔE00 4.55
Gold (survey)
#DBB40C
ΔE00 5.20
Brownish Yellow
#C9B003
ΔE00 5.20
Ocher
#BF9B0C
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAB3F #3F60CC
analogous
#CC643F #CCAB3F #A7CC3F
triadic
#CCAB3F #3FCCAB #AB3FCC
tetradic
#CCAB3F #3FCC64 #3F60CC #CC3FA7
square
#CCAB3F #3FCC64 #3F60CC #CC3FA7
split-complementary
#CCAB3F #3FA7CC #643FCC
monochromatic
#725F1E #A3872B #CCAB3F #D9C06F #E6D5A0
Accessibility & contrast
On white
2.22
#CCAB3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#CCAB3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAB3F
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAB3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAB3F | 1.00 | 2.22 | 9.46 | 9.46 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA931
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#DC9D95
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #ccab3f; /* rgb */ color: rgb(204, 171, 63); /* oklch */ color: oklch(75.1% 0.130 91.7);
Tailwind
colors: {
custom: {
50: '#dfc37a',
500: '#ccab3f',
950: '#000000',
},
}SCSS
$custom: #ccab3f; $custom-light: #dfc37a; $custom-dark: #000000;
JSON
{
"hex": "#ccab3f",
"rgb": {
"r": 204,
"g": 171,
"b": 63
},
"hsl": {
"h": 45.957,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.75105,
"c": 0.12954,
"h": 91.7
},
"luminance": 0.42322
}Semantic roles & 50–950 ramp
primary
#CCAB3F
secondary
#95A3D2
accent
#6BE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B