#C5C856#C5C856
#C5C856 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.8% C 0.137 H 110.5°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C5C856 |
|---|---|
| RGB | rgb(197, 200, 86) |
| HSL | hsl(62, 51%, 56%) |
| HSV | hsv(62, 57%, 78%) |
| CMYK | cmyk(1.5%, 0%, 57%, 21.6%) |
| CIE-LAB | lab(78.38, -16.05, 55.43) |
| CIE-LCH | lch(78.38, 57.71, 106.15°) |
| OKLab | oklab(80.8% -0.0479 0.1281) |
| OKLCH | oklch(80.8% 0.137 110.5) |
| XYZ | xyz(45.3611, 53.8518, 16.8072) |
| Luminance | 0.5385 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.83
Baby Puke Green
#B6C406
ΔE00 5.65
Bile
#B5C306
ΔE00 5.68
Puke Yellow
#C2BE0E
ΔE00 5.96
Vomit Yellow
#C7C10C
ΔE00 6.11
Snot
#ACBB0D
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5C856 #5956C8
analogous
#C89256 #C5C856 #8CC856
triadic
#C5C856 #56C5C8 #C856C5
tetradic
#C5C856 #56C892 #5956C8 #C8568C
square
#C5C856 #56C892 #5956C8 #C8568C
split-complementary
#C5C856 #568CC8 #9256C8
monochromatic
#797B28 #A7AA37 #C5C856 #D5D784 #E5E6B2
Accessibility & contrast
On white
1.78
#C5C856 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.77
#C5C856 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5C856
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5C856 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5C856 | 1.00 | 1.78 | 11.77 | 11.77 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#D7C45D
Tritanopia (blue-blind)
#D1BDAF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #c5c856; /* rgb */ color: rgb(197, 200, 86); /* oklch */ color: oklch(80.8% 0.137 110.5);
Tailwind
colors: {
custom: {
50: '#d9d88a',
500: '#c5c856',
950: '#000000',
},
}SCSS
$custom: #c5c856; $custom-light: #d9d88a; $custom-dark: #000000;
JSON
{
"hex": "#c5c856",
"rgb": {
"r": 197,
"g": 200,
"b": 86
},
"hsl": {
"h": 61.579,
"s": 50.893,
"l": 56.078
},
"oklch": {
"l": 0.80803,
"c": 0.13678,
"h": 110.5
},
"luminance": 0.53851
}Semantic roles & 50–950 ramp
primary
#C5C856
secondary
#403F84
accent
#4DDA51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F