#C5A832#C5A832
#C5A832 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.7% C 0.135 H 94.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C5A832 |
|---|---|
| RGB | rgb(197, 168, 50) |
| HSL | hsl(48, 60%, 48%) |
| HSV | hsv(48, 75%, 77%) |
| CMYK | cmyk(0%, 14.7%, 74.6%, 22.7%) |
| CIE-LAB | lab(69.55, -1.67, 61.10) |
| CIE-LCH | lch(69.55, 61.12, 91.56°) |
| OKLab | oklab(73.7% -0.011 0.1344) |
| OKLCH | oklch(73.7% 0.135 94.7) |
| XYZ | xyz(37.6063, 40.1080, 8.7778) |
| Luminance | 0.4011 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.06
Muddy Yellow
#BFAC05
ΔE00 4.17
Ocher
#BF9B0C
ΔE00 4.21
Burnt Yellow
#D5AB09
ΔE00 4.43
Mustard (survey)
#CEB301
ΔE00 4.64
Mustard
#DBB42C
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5A832 #324FC5
analogous
#C55E32 #C5A832 #98C532
triadic
#C5A832 #32C5A8 #A832C5
tetradic
#C5A832 #32C55E #324FC5 #C53298
square
#C5A832 #32C55E #324FC5 #C53298
split-complementary
#C5A832 #3298C5 #5E32C5
monochromatic
#635519 #947E26 #C5A832 #D6BE5E #E3D28F
Accessibility & contrast
On white
2.33
#C5A832 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#C5A832 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5A832
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5A832 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5A832 | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA51D
Deuteranopia (green-blind)
#C1AE39
Tritanopia (blue-blind)
#D59A91
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c5a832; /* rgb */ color: rgb(197, 168, 50); /* oklch */ color: oklch(73.7% 0.135 94.7);
Tailwind
colors: {
custom: {
50: '#dbc172',
500: '#c5a832',
950: '#000000',
},
}SCSS
$custom: #c5a832; $custom-light: #dbc172; $custom-dark: #000000;
JSON
{
"hex": "#c5a832",
"rgb": {
"r": 197,
"g": 168,
"b": 50
},
"hsl": {
"h": 48.163,
"s": 59.514,
"l": 48.431
},
"oklch": {
"l": 0.73697,
"c": 0.13489,
"h": 94.7
},
"luminance": 0.40106
}Semantic roles & 50–950 ramp
primary
#C5A832
secondary
#8694CD
accent
#64E345
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B