#CCAC43#CCAC43
#CCAC43 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.127 H 92.0°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAC43 |
|---|---|
| RGB | rgb(204, 172, 67) |
| HSL | hsl(46, 57%, 53%) |
| HSV | hsv(46, 67%, 80%) |
| CMYK | cmyk(0%, 15.7%, 67.2%, 20%) |
| CIE-LAB | lab(71.39, 0.11, 56.35) |
| CIE-LCH | lch(71.39, 56.35, 89.88°) |
| OKLab | oklab(75.35% -0.0043 0.1272) |
| OKLCH | oklch(75.35% 0.127 92) |
| XYZ | xyz(40.6696, 42.7500, 11.4185) |
| Luminance | 0.4275 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.16
Desert
#CCAD60
ΔE00 4.20
Burnt Yellow
#D5AB09
ΔE00 4.63
Brownish Yellow
#C9B003
ΔE00 5.36
Gold (survey)
#DBB40C
ΔE00 5.43
Mustard (survey)
#CEB301
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAC43 #4363CC
analogous
#CC6743 #CCAC43 #A8CC43
triadic
#CCAC43 #43CCAC #AC43CC
tetradic
#CCAC43 #43CC67 #4363CC #CC43A8
square
#CCAC43 #43CC67 #4363CC #CC43A8
split-complementary
#CCAC43 #43A8CC #6743CC
monochromatic
#756120 #A5892D #CCAC43 #D9C173 #E6D7A3
Accessibility & contrast
On white
2.20
#CCAC43 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#CCAC43 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAC43
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAC43 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAC43 | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA936
Deuteranopia (green-blind)
#C6B348
Tritanopia (blue-blind)
#DC9F96
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccac43; /* rgb */ color: rgb(204, 172, 67); /* oklch */ color: oklch(75.3% 0.127 92.0);
Tailwind
colors: {
custom: {
50: '#dfc47c',
500: '#ccac43',
950: '#000000',
},
}SCSS
$custom: #ccac43; $custom-light: #dfc47c; $custom-dark: #000000;
JSON
{
"hex": "#ccac43",
"rgb": {
"r": 204,
"g": 172,
"b": 67
},
"hsl": {
"h": 45.985,
"s": 57.322,
"l": 53.137
},
"oklch": {
"l": 0.75345,
"c": 0.12728,
"h": 92
},
"luminance": 0.42748
}Semantic roles & 50–950 ramp
primary
#CCAC43
secondary
#98A6D3
accent
#6BE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C