#C5A833#C5A833
#C5A833 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.7% C 0.134 H 94.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C5A833 |
|---|---|
| RGB | rgb(197, 168, 51) |
| HSL | hsl(48, 59%, 49%) |
| HSV | hsv(48, 74%, 77%) |
| CMYK | cmyk(0%, 14.7%, 74.1%, 22.7%) |
| CIE-LAB | lab(69.55, -1.62, 60.73) |
| CIE-LCH | lch(69.55, 60.75, 91.53°) |
| OKLab | oklab(73.7% -0.0107 0.1339) |
| OKLCH | oklch(73.7% 0.134 94.6) |
| XYZ | xyz(37.6281, 40.1167, 8.8927) |
| Luminance | 0.4012 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.14
Ocher
#BF9B0C
ΔE00 4.24
Muddy Yellow
#BFAC05
ΔE00 4.25
Burnt Yellow
#D5AB09
ΔE00 4.48
Mustard (survey)
#CEB301
ΔE00 4.72
Mustard
#DBB42C
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5A833 #3350C5
analogous
#C55F33 #C5A833 #99C533
triadic
#C5A833 #33C5A8 #A833C5
tetradic
#C5A833 #33C55F #3350C5 #C53399
square
#C5A833 #33C55F #3350C5 #C53399
split-complementary
#C5A833 #3399C5 #5F33C5
monochromatic
#64551A #947F26 #C5A833 #D6BE5F #E2D290
Accessibility & contrast
On white
2.33
#C5A833 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#C5A833 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5A833
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5A833 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5A833 | 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)
#BAA51F
Deuteranopia (green-blind)
#C1AE3A
Tritanopia (blue-blind)
#D59B91
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c5a833; /* rgb */ color: rgb(197, 168, 51); /* oklch */ color: oklch(73.7% 0.134 94.6);
Tailwind
colors: {
custom: {
50: '#dbc173',
500: '#c5a833',
950: '#000000',
},
}SCSS
$custom: #c5a833; $custom-light: #dbc173; $custom-dark: #000000;
JSON
{
"hex": "#c5a833",
"rgb": {
"r": 197,
"g": 168,
"b": 51
},
"hsl": {
"h": 48.082,
"s": 58.871,
"l": 48.627
},
"oklch": {
"l": 0.73704,
"c": 0.13429,
"h": 94.6
},
"luminance": 0.40115
}Semantic roles & 50–950 ramp
primary
#C5A833
secondary
#8795CD
accent
#65E246
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#151208
muted
#84817B