#C5AA33#C5AA33
#C5AA33 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.136 H 95.8°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C5AA33 |
|---|---|
| RGB | rgb(197, 170, 51) |
| HSL | hsl(49, 59%, 49%) |
| HSV | hsv(49, 74%, 77%) |
| CMYK | cmyk(0%, 13.7%, 74.1%, 22.7%) |
| CIE-LAB | lab(70.08, -2.68, 61.24) |
| CIE-LCH | lch(70.08, 61.29, 92.51°) |
| OKLab | oklab(74.12% -0.0137 0.1349) |
| OKLCH | oklch(74.12% 0.136 95.8) |
| XYZ | xyz(38.0002, 40.8608, 9.0167) |
| Luminance | 0.4086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.60
Muddy Yellow
#BFAC05
ΔE00 3.66
Mustard (survey)
#CEB301
ΔE00 4.20
Burnt Yellow
#D5AB09
ΔE00 4.71
Mustard
#DBB42C
ΔE00 4.75
Ocher
#BF9B0C
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5AA33 #334EC5
analogous
#C56133 #C5AA33 #97C533
triadic
#C5AA33 #33C5AA #AA33C5
tetradic
#C5AA33 #33C561 #334EC5 #C53397
square
#C5AA33 #33C561 #334EC5 #C53397
split-complementary
#C5AA33 #3397C5 #6133C5
monochromatic
#64561A #948026 #C5AA33 #D6C05F #E2D390
Accessibility & contrast
On white
2.29
#C5AA33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#C5AA33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5AA33
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5AA33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5AA33 | 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)
#BCA61E
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#D59D93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c5aa33; /* rgb */ color: rgb(197, 170, 51); /* oklch */ color: oklch(74.1% 0.136 95.8);
Tailwind
colors: {
custom: {
50: '#dbc273',
500: '#c5aa33',
950: '#000000',
},
}SCSS
$custom: #c5aa33; $custom-light: #dbc273; $custom-dark: #000000;
JSON
{
"hex": "#c5aa33",
"rgb": {
"r": 197,
"g": 170,
"b": 51
},
"hsl": {
"h": 48.904,
"s": 58.871,
"l": 48.627
},
"oklch": {
"l": 0.74119,
"c": 0.13564,
"h": 95.8
},
"luminance": 0.40859
}Semantic roles & 50–950 ramp
primary
#C5AA33
secondary
#8794CD
accent
#63E246
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#151209
muted
#84817B