#C5A73B#C5A73B
#C5A73B is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.6% C 0.128 H 93.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C5A73B |
|---|---|
| RGB | rgb(197, 167, 59) |
| HSL | hsl(47, 54%, 50%) |
| HSV | hsv(47, 70%, 77%) |
| CMYK | cmyk(0%, 15.2%, 70.1%, 22.7%) |
| CIE-LAB | lab(69.35, -0.70, 57.39) |
| CIE-LCH | lch(69.35, 57.39, 90.70°) |
| OKLab | oklab(73.56% -0.0072 0.1283) |
| OKLCH | oklch(73.56% 0.128 93.2) |
| XYZ | xyz(37.6360, 39.8256, 9.8416) |
| Luminance | 0.3982 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.35
Ocre
#C69C04
ΔE00 4.87
Burnt Yellow
#D5AB09
ΔE00 4.93
Desert
#CCAD60
ΔE00 5.03
Brownish Yellow
#C9B003
ΔE00 5.18
Mustard
#DBB42C
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5A73B #3B59C5
analogous
#C5623B #C5A73B #9EC53B
triadic
#C5A73B #3BC5A7 #A73BC5
tetradic
#C5A73B #3BC562 #3B59C5 #C53B9E
square
#C5A73B #3BC562 #3B59C5 #C53B9E
split-complementary
#C5A73B #3B9EC5 #623BC5
monochromatic
#67571F #967F2C #C5A73B #D3BC6A #E1D199
Accessibility & contrast
On white
2.34
#C5A73B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#C5A73B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5A73B
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5A73B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5A73B | 1.00 | 2.34 | 8.96 | 8.96 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A42C
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#D59A91
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #c5a73b; /* rgb */ color: rgb(197, 167, 59); /* oklch */ color: oklch(73.6% 0.128 93.2);
Tailwind
colors: {
custom: {
50: '#dac077',
500: '#c5a73b',
950: '#000000',
},
}SCSS
$custom: #c5a73b; $custom-light: #dac077; $custom-dark: #000000;
JSON
{
"hex": "#c5a73b",
"rgb": {
"r": 197,
"g": 167,
"b": 59
},
"hsl": {
"h": 46.957,
"s": 54.331,
"l": 50.196
},
"oklch": {
"l": 0.73557,
"c": 0.12848,
"h": 93.2
},
"luminance": 0.39824
}Semantic roles & 50–950 ramp
primary
#C5A73B
secondary
#8F9CCD
accent
#6ADE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B