#C4CF4F#C4CF4F
#C4CF4F is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.2% C 0.151 H 113.9°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #C4CF4F |
|---|---|
| RGB | rgb(196, 207, 79) |
| HSL | hsl(65, 57%, 56%) |
| HSV | hsv(65, 62%, 81%) |
| CMYK | cmyk(5.3%, 0%, 61.8%, 18.8%) |
| CIE-LAB | lab(80.14, -20.44, 60.36) |
| CIE-LCH | lch(80.14, 63.73, 108.70°) |
| OKLab | oklab(82.17% -0.0609 0.1377) |
| OKLCH | oklch(82.17% 0.151 113.9) |
| XYZ | xyz(46.4902, 56.9268, 15.9345) |
| Luminance | 0.5693 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 4.69
Baby Puke Green
#B6C406
ΔE00 4.90
Bile
#B5C306
ΔE00 5.02
Greenish Beige
#C9D179
ΔE00 5.44
Pea
#A4BF20
ΔE00 6.13
Snot
#ACBB0D
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4CF4F #5A4FCF
analogous
#CF9A4F #C4CF4F #84CF4F
triadic
#C4CF4F #4FC4CF #CF4FC4
tetradic
#C4CF4F #4FCF9A #5A4FCF #CF4F84
square
#C4CF4F #4FCF9A #5A4FCF #CF4F84
split-complementary
#C4CF4F #4F84CF #9A4FCF
monochromatic
#798123 #A6B130 #C4CF4F #D4DC7F #E4E9AF
Accessibility & contrast
On white
1.70
#C4CF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.39
#C4CF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4CF4F
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4CF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4CF4F | 1.00 | 1.70 | 12.39 | 12.39 |
| #FFFFFF | 1.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC63F
Deuteranopia (green-blind)
#DDC857
Tritanopia (blue-blind)
#D0C4B4
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #c4cf4f; /* rgb */ color: rgb(196, 207, 79); /* oklch */ color: oklch(82.2% 0.151 113.9);
Tailwind
colors: {
custom: {
50: '#d9dd86',
500: '#c4cf4f',
950: '#000000',
},
}SCSS
$custom: #c4cf4f; $custom-light: #d9dd86; $custom-dark: #000000;
JSON
{
"hex": "#c4cf4f",
"rgb": {
"r": 196,
"g": 207,
"b": 79
},
"hsl": {
"h": 65.156,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.82173,
"c": 0.15059,
"h": 113.9
},
"luminance": 0.56926
}Semantic roles & 50–950 ramp
primary
#C4CF4F
secondary
#413A88
accent
#47E055
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E