#C5AA3B#C5AA3B
#C5AA3B is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.2% C 0.131 H 95.2°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C5AA3B |
|---|---|
| RGB | rgb(197, 170, 59) |
| HSL | hsl(48, 54%, 50%) |
| HSV | hsv(48, 70%, 77%) |
| CMYK | cmyk(0%, 13.7%, 70.1%, 22.7%) |
| CIE-LAB | lab(70.13, -2.30, 58.19) |
| CIE-LCH | lch(70.13, 58.23, 92.26°) |
| OKLab | oklab(74.18% -0.0118 0.13) |
| OKLCH | oklch(74.18% 0.131 95.2) |
| XYZ | xyz(38.1920, 40.9376, 10.0269) |
| Luminance | 0.4094 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.37
Muddy Yellow
#BFAC05
ΔE00 4.38
Mustard (survey)
#CEB301
ΔE00 4.91
Mustard
#DBB42C
ΔE00 5.00
Ocher
#BF9B0C
ΔE00 5.11
Burnt Yellow
#D5AB09
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5AA3B #3B56C5
analogous
#C5653B #C5AA3B #9BC53B
triadic
#C5AA3B #3BC5AA #AA3BC5
tetradic
#C5AA3B #3BC565 #3B56C5 #C53B9B
square
#C5AA3B #3BC565 #3B56C5 #C53B9B
split-complementary
#C5AA3B #3B9BC5 #653BC5
monochromatic
#67591F #96822C #C5AA3B #D3BE6A #E1D399
Accessibility & contrast
On white
2.29
#C5AA3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#C5AA3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5AA3B
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5AA3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5AA3B | 1.00 | 2.29 | 9.19 | 9.19 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA72B
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#D59D93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c5aa3b; /* rgb */ color: rgb(197, 170, 59); /* oklch */ color: oklch(74.2% 0.131 95.2);
Tailwind
colors: {
custom: {
50: '#dac277',
500: '#c5aa3b',
950: '#000000',
},
}SCSS
$custom: #c5aa3b; $custom-light: #dac277; $custom-dark: #000000;
JSON
{
"hex": "#c5aa3b",
"rgb": {
"r": 197,
"g": 170,
"b": 59
},
"hsl": {
"h": 48.261,
"s": 54.331,
"l": 50.196
},
"oklch": {
"l": 0.74179,
"c": 0.1305,
"h": 95.2
},
"luminance": 0.40936
}Semantic roles & 50–950 ramp
primary
#C5AA3B
secondary
#8F9BCD
accent
#67DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B