#C5A532#C5A532
#C5A532 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 73.1% C 0.133 H 92.8°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #C5A532 |
|---|---|
| RGB | rgb(197, 165, 50) |
| HSL | hsl(47, 60%, 48%) |
| HSV | hsv(47, 75%, 77%) |
| CMYK | cmyk(0%, 16.2%, 74.6%, 22.7%) |
| CIE-LAB | lab(68.76, -0.07, 60.34) |
| CIE-LCH | lch(68.76, 60.34, 90.07°) |
| OKLab | oklab(73.08% -0.0064 0.1328) |
| OKLCH | oklch(73.08% 0.133 92.8) |
| XYZ | xyz(37.0589, 39.0131, 8.5953) |
| Luminance | 0.3901 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.41
Ocre
#C69C04
ΔE00 3.90
Burnt Yellow
#D5AB09
ΔE00 4.33
Yellow Ochre
#CB9D06
ΔE00 4.44
Brownish Yellow
#C9B003
ΔE00 5.03
Brown Yellow
#B29705
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5A532 #3252C5
analogous
#C55B32 #C5A532 #9BC532
triadic
#C5A532 #32C5A5 #A532C5
tetradic
#C5A532 #32C55B #3252C5 #C5329B
square
#C5A532 #32C55B #3252C5 #C5329B
split-complementary
#C5A532 #329BC5 #5B32C5
monochromatic
#635319 #947C26 #C5A532 #D6BC5E #E3D08F
Accessibility & contrast
On white
2.39
#C5A532 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#C5A532 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5A532
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5A532 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5A532 | 1.00 | 2.39 | 8.80 | 8.80 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A21E
Deuteranopia (green-blind)
#BFAC39
Tritanopia (blue-blind)
#D5978E
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #c5a532; /* rgb */ color: rgb(197, 165, 50); /* oklch */ color: oklch(73.1% 0.133 92.8);
Tailwind
colors: {
custom: {
50: '#dbbf72',
500: '#c5a532',
950: '#000000',
},
}SCSS
$custom: #c5a532; $custom-light: #dbbf72; $custom-dark: #000000;
JSON
{
"hex": "#c5a532",
"rgb": {
"r": 197,
"g": 165,
"b": 50
},
"hsl": {
"h": 46.939,
"s": 59.514,
"l": 48.431
},
"oklch": {
"l": 0.73076,
"c": 0.13299,
"h": 92.8
},
"luminance": 0.39011
}Semantic roles & 50–950 ramp
primary
#C5A532
secondary
#8695CD
accent
#67E345
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B