#4E9D1F#4E9D1F
#4E9D1F is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.2% C 0.174 H 136.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4E9D1F |
|---|---|
| RGB | rgb(78, 157, 31) |
| HSL | hsl(98, 67%, 37%) |
| HSV | hsv(98, 80%, 62%) |
| CMYK | cmyk(50.3%, 0%, 80.3%, 38.4%) |
| CIE-LAB | lab(57.88, -45.58, 53.59) |
| CIE-LCH | lch(57.88, 70.35, 130.39°) |
| OKLab | oklab(62.17% -0.1267 0.1188) |
| OKLCH | oklch(62.17% 0.174 136.8) |
| XYZ | xyz(15.4457, 25.8315, 5.4681) |
| Luminance | 0.2583 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 1.74
Grass Green
#3F9B0B
ΔE00 1.78
Lawn Green
#4DA409
ΔE00 2.65
Leaf Green
#5CA904
ΔE00 4.72
Grass
#5CAC2D
ΔE00 4.75
Mid Green
#50A747
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E9D1F #6E1F9D
analogous
#8D9D1F #4E9D1F #1F9D2F
triadic
#4E9D1F #1F4E9D #9D1F4E
tetradic
#4E9D1F #1F8D9D #6E1F9D #9D2F1F
square
#4E9D1F #1F8D9D #6E1F9D #9D2F1F
split-complementary
#4E9D1F #2F1F9D #9D1F8D
monochromatic
#1B370B #356A15 #4E9D1F #67D029 #8ADE58
Accessibility & contrast
On white
3.41
#4E9D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#4E9D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E9D1F
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E9D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E9D1F | 1.00 | 3.41 | 6.17 | 6.17 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#98892E
Tritanopia (blue-blind)
#499786
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #4e9d1f; /* rgb */ color: rgb(78, 157, 31); /* oklch */ color: oklch(62.2% 0.174 136.8);
Tailwind
colors: {
custom: {
50: '#88ba66',
500: '#4e9d1f',
950: '#000000',
},
}SCSS
$custom: #4e9d1f; $custom-light: #88ba66; $custom-dark: #000000;
JSON
{
"hex": "#4e9d1f",
"rgb": {
"r": 78,
"g": 157,
"b": 31
},
"hsl": {
"h": 97.619,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.62174,
"c": 0.17371,
"h": 136.8
},
"luminance": 0.25833
}Semantic roles & 50–950 ramp
primary
#4E9D1F
secondary
#9A56C2
accent
#3EEAAA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A