#C4AC40#C4AC40
#C4AC40 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.5% C 0.128 H 96.5°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #C4AC40 |
|---|---|
| RGB | rgb(196, 172, 64) |
| HSL | hsl(49, 53%, 51%) |
| HSV | hsv(49, 67%, 77%) |
| CMYK | cmyk(0%, 12.2%, 67.3%, 23.1%) |
| CIE-LAB | lab(70.60, -3.52, 56.57) |
| CIE-LCH | lch(70.60, 56.68, 93.56°) |
| OKLab | oklab(74.54% -0.0146 0.1275) |
| OKLCH | oklch(74.54% 0.128 96.5) |
| XYZ | xyz(38.4447, 41.6129, 10.8566) |
| Luminance | 0.4161 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.33
Brownish Yellow
#C9B003
ΔE00 4.51
Mustard (survey)
#CEB301
ΔE00 5.06
Desert
#CCAD60
ΔE00 5.41
Mustard
#DBB42C
ΔE00 5.47
Dark Yellow
#D5B60A
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4AC40 #4058C4
analogous
#C46A40 #C4AC40 #9AC440
triadic
#C4AC40 #40C4AC #AC40C4
tetradic
#C4AC40 #40C46A #4058C4 #C4409A
square
#C4AC40 #40C46A #4058C4 #C4409A
split-complementary
#C4AC40 #409AC4 #6A40C4
monochromatic
#695C20 #98852F #C4AC40 #D2C06F #E1D59E
Accessibility & contrast
On white
2.25
#C4AC40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.32
#C4AC40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4AC40
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4AC40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4AC40 | 1.00 | 2.25 | 9.32 | 9.32 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#C3B046
Tritanopia (blue-blind)
#D39F96
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c4ac40; /* rgb */ color: rgb(196, 172, 64); /* oklch */ color: oklch(74.5% 0.128 96.5);
Tailwind
colors: {
custom: {
50: '#d9c47a',
500: '#c4ac40',
950: '#000000',
},
}SCSS
$custom: #c4ac40; $custom-light: #d9c47a; $custom-dark: #000000;
JSON
{
"hex": "#c4ac40",
"rgb": {
"r": 196,
"g": 172,
"b": 64
},
"hsl": {
"h": 49.091,
"s": 52.8,
"l": 50.98
},
"oklch": {
"l": 0.74542,
"c": 0.12829,
"h": 96.5
},
"luminance": 0.41611
}Semantic roles & 50–950 ramp
primary
#C4AC40
secondary
#939DCD
accent
#66DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C