#C4AA3A#C4AA3A
#C4AA3A is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.1% C 0.131 H 95.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C4AA3A |
|---|---|
| RGB | rgb(196, 170, 58) |
| HSL | hsl(49, 54%, 50%) |
| HSV | hsv(49, 70%, 77%) |
| CMYK | cmyk(0%, 13.3%, 70.4%, 23.1%) |
| CIE-LAB | lab(70.03, -2.78, 58.46) |
| CIE-LCH | lch(70.03, 58.52, 92.73°) |
| OKLab | oklab(74.07% -0.0132 0.1304) |
| OKLCH | oklch(74.07% 0.131 95.8) |
| XYZ | xyz(37.9053, 40.7927, 9.8794) |
| Luminance | 0.4079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.13
Brownish Yellow
#C9B003
ΔE00 4.23
Mustard (survey)
#CEB301
ΔE00 4.83
Mustard
#DBB42C
ΔE00 5.17
Ocher
#BF9B0C
ΔE00 5.18
Burnt Yellow
#D5AB09
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4AA3A #3A54C4
analogous
#C4653A #C4AA3A #99C43A
triadic
#C4AA3A #3AC4AA #AA3AC4
tetradic
#C4AA3A #3AC465 #3A54C4 #C43A99
square
#C4AA3A #3AC465 #3A54C4 #C43A99
split-complementary
#C4AA3A #3A99C4 #653AC4
monochromatic
#66581E #95812C #C4AA3A #D3BF69 #E0D398
Accessibility & contrast
On white
2.29
#C4AA3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#C4AA3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4AA3A
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4AA3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4AA3A | 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)
#BBA62A
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#D39D93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c4aa3a; /* rgb */ color: rgb(196, 170, 58); /* oklch */ color: oklch(74.1% 0.131 95.8);
Tailwind
colors: {
custom: {
50: '#dac277',
500: '#c4aa3a',
950: '#000000',
},
}SCSS
$custom: #c4aa3a; $custom-light: #dac277; $custom-dark: #000000;
JSON
{
"hex": "#c4aa3a",
"rgb": {
"r": 196,
"g": 170,
"b": 58
},
"hsl": {
"h": 48.696,
"s": 54.331,
"l": 49.804
},
"oklch": {
"l": 0.74074,
"c": 0.13107,
"h": 95.8
},
"luminance": 0.40791
}Semantic roles & 50–950 ramp
primary
#C4AA3A
secondary
#8E99CC
accent
#66DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B