#C4AA40#C4AA40
#C4AA40 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.127 H 95.2°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C4AA40 |
|---|---|
| RGB | rgb(196, 170, 64) |
| HSL | hsl(48, 53%, 51%) |
| HSV | hsv(48, 67%, 77%) |
| CMYK | cmyk(0%, 13.3%, 67.3%, 23.1%) |
| CIE-LAB | lab(70.08, -2.46, 56.02) |
| CIE-LCH | lch(70.08, 56.08, 92.51°) |
| OKLab | oklab(74.13% -0.0116 0.1263) |
| OKLCH | oklch(74.13% 0.127 95.2) |
| XYZ | xyz(38.0669, 40.8574, 10.7307) |
| Luminance | 0.4086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.77
Brownish Yellow
#C9B003
ΔE00 4.88
Desert
#CCAD60
ΔE00 5.00
Mustard (survey)
#CEB301
ΔE00 5.42
Mustard
#DBB42C
ΔE00 5.44
Ocher
#BF9B0C
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4AA40 #405AC4
analogous
#C46840 #C4AA40 #9CC440
triadic
#C4AA40 #40C4AA #AA40C4
tetradic
#C4AA40 #40C468 #405AC4 #C4409C
square
#C4AA40 #40C468 #405AC4 #C4409C
split-complementary
#C4AA40 #409CC4 #6840C4
monochromatic
#695B20 #98832F #C4AA40 #D2BF6F #E1D49E
Accessibility & contrast
On white
2.29
#C4AA40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#C4AA40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4AA40
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4AA40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4AA40 | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA732
Deuteranopia (green-blind)
#C2AF46
Tritanopia (blue-blind)
#D39D94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c4aa40; /* rgb */ color: rgb(196, 170, 64); /* oklch */ color: oklch(74.1% 0.127 95.2);
Tailwind
colors: {
custom: {
50: '#d9c37a',
500: '#c4aa40',
950: '#000000',
},
}SCSS
$custom: #c4aa40; $custom-light: #d9c37a; $custom-dark: #000000;
JSON
{
"hex": "#c4aa40",
"rgb": {
"r": 196,
"g": 170,
"b": 64
},
"hsl": {
"h": 48.182,
"s": 52.8,
"l": 50.98
},
"oklch": {
"l": 0.74125,
"c": 0.12682,
"h": 95.2
},
"luminance": 0.40855
}Semantic roles & 50–950 ramp
primary
#C4AA40
secondary
#939ECD
accent
#68DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C