#C4AA39#C4AA39
#C4AA39 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.1% C 0.132 H 95.9°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C4AA39 |
|---|---|
| RGB | rgb(196, 170, 57) |
| HSL | hsl(49, 55%, 50%) |
| HSV | hsv(49, 71%, 77%) |
| CMYK | cmyk(0%, 13.3%, 70.9%, 23.1%) |
| CIE-LAB | lab(70.02, -2.84, 58.85) |
| CIE-LCH | lch(70.02, 58.92, 92.76°) |
| OKLab | oklab(74.07% -0.0135 0.1311) |
| OKLCH | oklch(74.07% 0.132 95.9) |
| XYZ | xyz(37.8801, 40.7826, 9.7467) |
| Luminance | 0.4078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.03
Brownish Yellow
#C9B003
ΔE00 4.13
Mustard (survey)
#CEB301
ΔE00 4.74
Mustard
#DBB42C
ΔE00 5.14
Ocher
#BF9B0C
ΔE00 5.15
Burnt Yellow
#D5AB09
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4AA39 #3953C4
analogous
#C46539 #C4AA39 #99C439
triadic
#C4AA39 #39C4AA #AA39C4
tetradic
#C4AA39 #39C465 #3953C4 #C43999
square
#C4AA39 #39C465 #3953C4 #C43999
split-complementary
#C4AA39 #3999C4 #6539C4
monochromatic
#65581D #95812B #C4AA39 #D3BF67 #E1D397
Accessibility & contrast
On white
2.29
#C4AA39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#C4AA39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4AA39
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4AA39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4AA39 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA628
Deuteranopia (green-blind)
#C2AF3F
Tritanopia (blue-blind)
#D49D93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c4aa39; /* rgb */ color: rgb(196, 170, 57); /* oklch */ color: oklch(74.1% 0.132 95.9);
Tailwind
colors: {
custom: {
50: '#dac276',
500: '#c4aa39',
950: '#000000',
},
}SCSS
$custom: #c4aa39; $custom-light: #dac276; $custom-dark: #000000;
JSON
{
"hex": "#c4aa39",
"rgb": {
"r": 196,
"g": 170,
"b": 57
},
"hsl": {
"h": 48.777,
"s": 54.941,
"l": 49.608
},
"oklch": {
"l": 0.74066,
"c": 0.13174,
"h": 95.9
},
"luminance": 0.40781
}Semantic roles & 50–950 ramp
primary
#C4AA39
secondary
#8D99CC
accent
#65DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B