#C5D93B#C5D93B
#C5D93B is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.3% C 0.175 H 116.7°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #C5D93B |
|---|---|
| RGB | rgb(197, 217, 59) |
| HSL | hsl(68, 68%, 54%) |
| HSV | hsv(68, 73%, 85%) |
| CMYK | cmyk(9.2%, 0%, 72.8%, 14.9%) |
| CIE-LAB | lab(82.81, -26.02, 70.62) |
| CIE-LCH | lch(82.81, 75.26, 110.22°) |
| OKLab | oklab(84.29% -0.0784 0.1562) |
| OKLCH | oklch(84.29% 0.175 116.7) |
| XYZ | xyz(48.6294, 61.8124, 13.5060) |
| Luminance | 0.6181 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.20
Green Yellow
#B5CE08
ΔE00 3.41
Yellowish Green
#B0DD16
ΔE00 4.32
Baby Puke Green
#B6C406
ΔE00 5.38
Bile
#B5C306
ΔE00 5.60
Yellowy Green
#BFF128
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5D93B #4F3BD9
analogous
#D99E3B #C5D93B #76D93B
triadic
#C5D93B #3BC5D9 #D93BC5
tetradic
#C5D93B #3BD99E #4F3BD9 #D93B76
square
#C5D93B #3BD99E #4F3BD9 #D93B76
split-complementary
#C5D93B #3B76D9 #9E3BD9
monochromatic
#748119 #A2B423 #C5D93B #D4E36E #E3EDA2
Accessibility & contrast
On white
1.57
#C5D93B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.36
#C5D93B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5D93B
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5D93B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5D93B | 1.00 | 1.57 | 13.36 | 13.36 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8CE1A
Deuteranopia (green-blind)
#E6CF48
Tritanopia (blue-blind)
#D1CDBB
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #c5d93b; /* rgb */ color: rgb(197, 217, 59); /* oklch */ color: oklch(84.3% 0.175 116.7);
Tailwind
colors: {
custom: {
50: '#dae47c',
500: '#c5d93b',
950: '#000000',
},
}SCSS
$custom: #c5d93b; $custom-light: #dae47c; $custom-dark: #000000;
JSON
{
"hex": "#c5d93b",
"rgb": {
"r": 197,
"g": 217,
"b": 59
},
"hsl": {
"h": 67.595,
"s": 67.521,
"l": 54.118
},
"oklch": {
"l": 0.84293,
"c": 0.17482,
"h": 116.7
},
"luminance": 0.61812
}Semantic roles & 50–950 ramp
primary
#C5D93B
secondary
#3C3188
accent
#3DEA53
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D