#C5A533#C5A533
#C5A533 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 73.1% C 0.132 H 92.7°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #C5A533 |
|---|---|
| RGB | rgb(197, 165, 51) |
| HSL | hsl(47, 59%, 49%) |
| HSV | hsv(47, 74%, 77%) |
| CMYK | cmyk(0%, 16.2%, 74.1%, 22.7%) |
| CIE-LAB | lab(68.77, -0.03, 59.97) |
| CIE-LCH | lch(68.77, 59.97, 90.03°) |
| OKLab | oklab(73.08% -0.0062 0.1323) |
| OKLCH | oklch(73.08% 0.132 92.7) |
| XYZ | xyz(37.0807, 39.0218, 8.7102) |
| Luminance | 0.3902 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.46
Ocre
#C69C04
ΔE00 3.94
Burnt Yellow
#D5AB09
ΔE00 4.39
Yellow Ochre
#CB9D06
ΔE00 4.47
Brownish Yellow
#C9B003
ΔE00 5.11
Brown Yellow
#B29705
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5A533 #3353C5
analogous
#C55C33 #C5A533 #9CC533
triadic
#C5A533 #33C5A5 #A533C5
tetradic
#C5A533 #33C55C #3353C5 #C5339C
square
#C5A533 #33C55C #3353C5 #C5339C
split-complementary
#C5A533 #339CC5 #5C33C5
monochromatic
#64541A #947C26 #C5A533 #D6BC5F #E2D090
Accessibility & contrast
On white
2.39
#C5A533 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#C5A533 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5A533
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5A533 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5A533 | 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)
#B7A220
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#D5978F
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #c5a533; /* rgb */ color: rgb(197, 165, 51); /* oklch */ color: oklch(73.1% 0.132 92.7);
Tailwind
colors: {
custom: {
50: '#dbbf73',
500: '#c5a533',
950: '#000000',
},
}SCSS
$custom: #c5a533; $custom-light: #dbbf73; $custom-dark: #000000;
JSON
{
"hex": "#c5a533",
"rgb": {
"r": 197,
"g": 165,
"b": 51
},
"hsl": {
"h": 46.849,
"s": 58.871,
"l": 48.627
},
"oklch": {
"l": 0.73083,
"c": 0.1324,
"h": 92.7
},
"luminance": 0.3902
}Semantic roles & 50–950 ramp
primary
#C5A533
secondary
#8796CD
accent
#68E246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B