#C5AA3A#C5AA3A
#C5AA3A is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.2% C 0.131 H 95.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C5AA3A |
|---|---|
| RGB | rgb(197, 170, 58) |
| HSL | hsl(48, 55%, 50%) |
| HSV | hsv(48, 71%, 77%) |
| CMYK | cmyk(0%, 13.7%, 70.6%, 22.7%) |
| CIE-LAB | lab(70.13, -2.35, 58.58) |
| CIE-LCH | lch(70.13, 58.63, 92.30°) |
| OKLab | oklab(74.17% -0.012 0.1306) |
| OKLCH | oklch(74.17% 0.131 95.3) |
| XYZ | xyz(38.1663, 40.9273, 9.8916) |
| Luminance | 0.4093 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.26
Muddy Yellow
#BFAC05
ΔE00 4.28
Mustard (survey)
#CEB301
ΔE00 4.81
Mustard
#DBB42C
ΔE00 4.96
Burnt Yellow
#D5AB09
ΔE00 5.07
Ocher
#BF9B0C
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5AA3A #3A55C5
analogous
#C5643A #C5AA3A #9BC53A
triadic
#C5AA3A #3AC5AA #AA3AC5
tetradic
#C5AA3A #3AC564 #3A55C5 #C53A9B
square
#C5AA3A #3AC564 #3A55C5 #C53A9B
split-complementary
#C5AA3A #3A9BC5 #643AC5
monochromatic
#66581E #96812C #C5AA3A #D3BE69 #E1D399
Accessibility & contrast
On white
2.29
#C5AA3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#C5AA3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5AA3A
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5AA3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5AA3A | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA72A
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#D59D93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c5aa3a; /* rgb */ color: rgb(197, 170, 58); /* oklch */ color: oklch(74.2% 0.131 95.3);
Tailwind
colors: {
custom: {
50: '#dac277',
500: '#c5aa3a',
950: '#000000',
},
}SCSS
$custom: #c5aa3a; $custom-light: #dac277; $custom-dark: #000000;
JSON
{
"hex": "#c5aa3a",
"rgb": {
"r": 197,
"g": 170,
"b": 58
},
"hsl": {
"h": 48.345,
"s": 54.51,
"l": 50
},
"oklch": {
"l": 0.74171,
"c": 0.13118,
"h": 95.3
},
"luminance": 0.40925
}Semantic roles & 50–950 ramp
primary
#C5AA3A
secondary
#8E9ACD
accent
#67DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B