#C5AA3C#C5AA3C
#C5AA3C is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.2% C 0.130 H 95.1°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C5AA3C |
|---|---|
| RGB | rgb(197, 170, 60) |
| HSL | hsl(48, 54%, 50%) |
| HSV | hsv(48, 70%, 77%) |
| CMYK | cmyk(0%, 13.7%, 69.5%, 22.7%) |
| CIE-LAB | lab(70.14, -2.24, 57.79) |
| CIE-LCH | lch(70.14, 57.83, 92.22°) |
| OKLab | oklab(74.19% -0.0115 0.1293) |
| OKLCH | oklch(74.19% 0.13 95.1) |
| XYZ | xyz(38.2182, 40.9480, 10.1648) |
| Luminance | 0.4095 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.47
Muddy Yellow
#BFAC05
ΔE00 4.48
Mustard (survey)
#CEB301
ΔE00 5.01
Mustard
#DBB42C
ΔE00 5.04
Ocher
#BF9B0C
ΔE00 5.16
Burnt Yellow
#D5AB09
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5AA3C #3C57C5
analogous
#C5653C #C5AA3C #9CC53C
triadic
#C5AA3C #3CC5AA #AA3CC5
tetradic
#C5AA3C #3CC565 #3C57C5 #C53C9C
square
#C5AA3C #3CC565 #3C57C5 #C53C9C
split-complementary
#C5AA3C #3C9CC5 #653CC5
monochromatic
#68591F #97822D #C5AA3C #D3BF6B #E1D39A
Accessibility & contrast
On white
2.29
#C5AA3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#C5AA3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5AA3C
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5AA3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5AA3C | 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)
#BBA72D
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#D59D94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c5aa3c; /* rgb */ color: rgb(197, 170, 60); /* oklch */ color: oklch(74.2% 0.130 95.1);
Tailwind
colors: {
custom: {
50: '#dac278',
500: '#c5aa3c',
950: '#000000',
},
}SCSS
$custom: #c5aa3c; $custom-light: #dac278; $custom-dark: #000000;
JSON
{
"hex": "#c5aa3c",
"rgb": {
"r": 197,
"g": 170,
"b": 60
},
"hsl": {
"h": 48.175,
"s": 54.15,
"l": 50.392
},
"oklch": {
"l": 0.74187,
"c": 0.12981,
"h": 95.1
},
"luminance": 0.40946
}Semantic roles & 50–950 ramp
primary
#C5AA3C
secondary
#909CCD
accent
#67DE4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B