#C5CF4E#C5CF4E
#C5CF4E is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.2% C 0.151 H 113.4°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #C5CF4E |
|---|---|
| RGB | rgb(197, 207, 78) |
| HSL | hsl(65, 57%, 56%) |
| HSV | hsv(65, 62%, 81%) |
| CMYK | cmyk(4.8%, 0%, 62.3%, 18.8%) |
| CIE-LAB | lab(80.21, -20.09, 60.87) |
| CIE-LCH | lch(80.21, 64.10, 108.27°) |
| OKLab | oklab(82.24% -0.0601 0.1386) |
| OKLCH | oklch(82.24% 0.151 113.4) |
| XYZ | xyz(46.7151, 57.0469, 15.7565) |
| Luminance | 0.5705 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 4.68
Baby Puke Green
#B6C406
ΔE00 4.81
Bile
#B5C306
ΔE00 4.94
Greenish Beige
#C9D179
ΔE00 5.57
Pea
#A4BF20
ΔE00 6.24
Snot
#ACBB0D
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5CF4E #584ECF
analogous
#CF984E #C5CF4E #84CF4E
triadic
#C5CF4E #4EC5CF #CF4EC5
tetradic
#C5CF4E #4ECF98 #584ECF #CF4E84
square
#C5CF4E #4ECF98 #584ECF #CF4E84
split-complementary
#C5CF4E #4E84CF #984ECF
monochromatic
#798023 #A6B030 #C5CF4E #D5DC7E #E5E9AE
Accessibility & contrast
On white
1.69
#C5CF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.41
#C5CF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5CF4E
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5CF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5CF4E | 1.00 | 1.69 | 12.41 | 12.41 |
| #FFFFFF | 1.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC63E
Deuteranopia (green-blind)
#DDC856
Tritanopia (blue-blind)
#D1C3B4
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #c5cf4e; /* rgb */ color: rgb(197, 207, 78); /* oklch */ color: oklch(82.2% 0.151 113.4);
Tailwind
colors: {
custom: {
50: '#d9dd85',
500: '#c5cf4e',
950: '#000000',
},
}SCSS
$custom: #c5cf4e; $custom-light: #d9dd85; $custom-dark: #000000;
JSON
{
"hex": "#c5cf4e",
"rgb": {
"r": 197,
"g": 207,
"b": 78
},
"hsl": {
"h": 64.651,
"s": 57.333,
"l": 55.882
},
"oklch": {
"l": 0.82243,
"c": 0.15111,
"h": 113.4
},
"luminance": 0.57046
}Semantic roles & 50–950 ramp
primary
#C5CF4E
secondary
#403A87
accent
#47E153
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E