#C5C71A#C5C71A
#C5C71A is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.2% C 0.171 H 110.4°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #C5C71A |
|---|---|
| RGB | rgb(197, 199, 26) |
| HSL | hsl(61, 77%, 44%) |
| HSV | hsv(61, 87%, 78%) |
| CMYK | cmyk(1%, 0%, 86.9%, 22%) |
| CIE-LAB | lab(77.75, -18.38, 74.95) |
| CIE-LCH | lch(77.75, 77.17, 103.78°) |
| OKLab | oklab(80.19% -0.0596 0.16) |
| OKLCH | oklch(80.19% 0.171 110.4) |
| XYZ | xyz(43.6376, 52.7931, 8.8685) |
| Luminance | 0.5279 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 2.27
Puke Yellow
#C2BE0E
ΔE00 2.49
Dirty Yellow
#CDC50A
ΔE00 2.50
Baby Puke Green
#B6C406
ΔE00 2.92
Bile
#B5C306
ΔE00 3.06
Ugly Yellow
#D0C101
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5C71A #1C1AC7
analogous
#C7731A #C5C71A #6EC71A
triadic
#C5C71A #1AC5C7 #C71AC5
tetradic
#C5C71A #1AC773 #1C1AC7 #C71A6E
square
#C5C71A #1AC773 #1C1AC7 #C71A6E
split-complementary
#C5C71A #1A6EC7 #731AC7
monochromatic
#5A5B0C #8F9113 #C5C71A #E3E539 #EBEC6F
Accessibility & contrast
On white
1.82
#C5C71A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.56
#C5C71A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5C71A
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5C71A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5C71A | 1.00 | 1.82 | 11.56 | 11.56 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D9C22F
Tritanopia (blue-blind)
#D4BAAA
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #c5c71a; /* rgb */ color: rgb(197, 199, 26); /* oklch */ color: oklch(80.2% 0.171 110.4);
Tailwind
colors: {
custom: {
50: '#dbd76d',
500: '#c5c71a',
950: '#000000',
},
}SCSS
$custom: #c5c71a; $custom-light: #dbd76d; $custom-dark: #000000;
JSON
{
"hex": "#c5c71a",
"rgb": {
"r": 197,
"g": 199,
"b": 26
},
"hsl": {
"h": 60.694,
"s": 76.889,
"l": 44.118
},
"oklch": {
"l": 0.80193,
"c": 0.17074,
"h": 110.4
},
"luminance": 0.52792
}Semantic roles & 50–950 ramp
primary
#C5C71A
secondary
#201F66
accent
#34F337
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D