#C5A933#C5A933
#C5A933 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.9% C 0.135 H 95.2°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #C5A933 |
|---|---|
| RGB | rgb(197, 169, 51) |
| HSL | hsl(48, 59%, 49%) |
| HSV | hsv(48, 74%, 77%) |
| CMYK | cmyk(0%, 14.2%, 74.1%, 22.7%) |
| CIE-LAB | lab(69.82, -2.15, 60.98) |
| CIE-LCH | lch(69.82, 61.02, 92.02°) |
| OKLab | oklab(73.91% -0.0122 0.1344) |
| OKLCH | oklch(73.91% 0.135 95.2) |
| XYZ | xyz(37.8135, 40.4874, 8.9545) |
| Luminance | 0.4048 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.86
Muddy Yellow
#BFAC05
ΔE00 3.94
Mustard (survey)
#CEB301
ΔE00 4.45
Ocher
#BF9B0C
ΔE00 4.55
Burnt Yellow
#D5AB09
ΔE00 4.58
Mustard
#DBB42C
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5A933 #334FC5
analogous
#C56033 #C5A933 #98C533
triadic
#C5A933 #33C5A9 #A933C5
tetradic
#C5A933 #33C560 #334FC5 #C53398
square
#C5A933 #33C560 #334FC5 #C53398
split-complementary
#C5A933 #3398C5 #6033C5
monochromatic
#64561A #947F26 #C5A933 #D6BF5F #E2D390
Accessibility & contrast
On white
2.31
#C5A933 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#C5A933 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5A933
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5A933 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5A933 | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA61F
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#D59C92
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c5a933; /* rgb */ color: rgb(197, 169, 51); /* oklch */ color: oklch(73.9% 0.135 95.2);
Tailwind
colors: {
custom: {
50: '#dbc273',
500: '#c5a933',
950: '#000000',
},
}SCSS
$custom: #c5a933; $custom-light: #dbc273; $custom-dark: #000000;
JSON
{
"hex": "#c5a933",
"rgb": {
"r": 197,
"g": 169,
"b": 51
},
"hsl": {
"h": 48.493,
"s": 58.871,
"l": 48.627
},
"oklch": {
"l": 0.73911,
"c": 0.13496,
"h": 95.2
},
"luminance": 0.40485
}Semantic roles & 50–950 ramp
primary
#C5A933
secondary
#8794CD
accent
#64E246
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#151208
muted
#84817B