#CCAC3F#CCAC3F
#CCAC3F is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.130 H 92.4°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAC3F |
|---|---|
| RGB | rgb(204, 172, 63) |
| HSL | hsl(46, 58%, 52%) |
| HSV | hsv(46, 69%, 80%) |
| CMYK | cmyk(0%, 15.7%, 69.1%, 20%) |
| CIE-LAB | lab(71.35, -0.11, 58.01) |
| CIE-LCH | lch(71.35, 58.01, 90.11°) |
| OKLab | oklab(75.31% -0.0055 0.13) |
| OKLCH | oklch(75.31% 0.13 92.4) |
| XYZ | xyz(40.5537, 42.7036, 10.8082) |
| Luminance | 0.4270 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.86
Burnt Yellow
#D5AB09
ΔE00 4.26
Desert
#CCAD60
ΔE00 4.68
Brownish Yellow
#C9B003
ΔE00 4.91
Gold (survey)
#DBB40C
ΔE00 5.05
Mustard (survey)
#CEB301
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAC3F #3F5FCC
analogous
#CC663F #CCAC3F #A6CC3F
triadic
#CCAC3F #3FCCAC #AC3FCC
tetradic
#CCAC3F #3FCC66 #3F5FCC #CC3FA6
square
#CCAC3F #3FCC66 #3F5FCC #CC3FA6
split-complementary
#CCAC3F #3FA6CC #663FCC
monochromatic
#725F1E #A3882B #CCAC3F #D9C16F #E6D6A0
Accessibility & contrast
On white
2.20
#CCAC3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#CCAC3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAC3F
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAC3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAC3F | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA930
Deuteranopia (green-blind)
#C6B345
Tritanopia (blue-blind)
#DC9E96
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccac3f; /* rgb */ color: rgb(204, 172, 63); /* oklch */ color: oklch(75.3% 0.130 92.4);
Tailwind
colors: {
custom: {
50: '#dfc47a',
500: '#ccac3f',
950: '#000000',
},
}SCSS
$custom: #ccac3f; $custom-light: #dfc47a; $custom-dark: #000000;
JSON
{
"hex": "#ccac3f",
"rgb": {
"r": 204,
"g": 172,
"b": 63
},
"hsl": {
"h": 46.383,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.7531,
"c": 0.13015,
"h": 92.4
},
"luminance": 0.42701
}Semantic roles & 50–950 ramp
primary
#CCAC3F
secondary
#95A3D2
accent
#6AE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C