#C5A732#C5A732
#C5A732 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.5% C 0.134 H 94.0°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #C5A732 |
|---|---|
| RGB | rgb(197, 167, 50) |
| HSL | hsl(48, 60%, 48%) |
| HSV | hsv(48, 75%, 77%) |
| CMYK | cmyk(0%, 15.2%, 74.6%, 22.7%) |
| CIE-LAB | lab(69.28, -1.14, 60.84) |
| CIE-LCH | lch(69.28, 60.86, 91.07°) |
| OKLab | oklab(73.49% -0.0094 0.1339) |
| OKLCH | oklch(73.49% 0.134 94) |
| XYZ | xyz(37.4224, 39.7402, 8.7165) |
| Luminance | 0.3974 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.92
Burnt Yellow
#D5AB09
ΔE00 4.36
Brownish Yellow
#C9B003
ΔE00 4.37
Muddy Yellow
#BFAC05
ΔE00 4.50
Ocre
#C69C04
ΔE00 4.50
Mustard
#DBB42C
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5A732 #3250C5
analogous
#C55D32 #C5A732 #99C532
triadic
#C5A732 #32C5A7 #A732C5
tetradic
#C5A732 #32C55D #3250C5 #C53299
square
#C5A732 #32C55D #3250C5 #C53299
split-complementary
#C5A732 #3299C5 #5D32C5
monochromatic
#635419 #947E26 #C5A732 #D6BE5E #E3D18F
Accessibility & contrast
On white
2.35
#C5A732 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#C5A732 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5A732
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5A732 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5A732 | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A41E
Deuteranopia (green-blind)
#C1AD39
Tritanopia (blue-blind)
#D59990
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #c5a732; /* rgb */ color: rgb(197, 167, 50); /* oklch */ color: oklch(73.5% 0.134 94.0);
Tailwind
colors: {
custom: {
50: '#dbc072',
500: '#c5a732',
950: '#000000',
},
}SCSS
$custom: #c5a732; $custom-light: #dbc072; $custom-dark: #000000;
JSON
{
"hex": "#c5a732",
"rgb": {
"r": 197,
"g": 167,
"b": 50
},
"hsl": {
"h": 47.755,
"s": 59.514,
"l": 48.431
},
"oklch": {
"l": 0.73489,
"c": 0.13424,
"h": 94
},
"luminance": 0.39738
}Semantic roles & 50–950 ramp
primary
#C5A732
secondary
#8694CD
accent
#65E345
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B