#4F9D1F#4F9D1F
#4F9D1F is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.2% C 0.173 H 136.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4F9D1F |
|---|---|
| RGB | rgb(79, 157, 31) |
| HSL | hsl(97, 67%, 37%) |
| HSV | hsv(97, 80%, 62%) |
| CMYK | cmyk(49.7%, 0%, 80.3%, 38.4%) |
| CIE-LAB | lab(57.92, -45.27, 53.64) |
| CIE-LCH | lch(57.92, 70.19, 130.17°) |
| OKLab | oklab(62.22% -0.126 0.1189) |
| OKLCH | oklch(62.22% 0.173 136.7) |
| XYZ | xyz(15.5283, 25.8741, 5.4720) |
| Luminance | 0.2587 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 1.80
Grass Green
#3F9B0B
ΔE00 1.86
Lawn Green
#4DA409
ΔE00 2.63
Leaf Green
#5CA904
ΔE00 4.66
Grass
#5CAC2D
ΔE00 4.72
Mid Green
#50A747
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F9D1F #6D1F9D
analogous
#8E9D1F #4F9D1F #1F9D2E
triadic
#4F9D1F #1F4F9D #9D1F4F
tetradic
#4F9D1F #1F8E9D #6D1F9D #9D2E1F
square
#4F9D1F #1F8E9D #6D1F9D #9D2E1F
split-complementary
#4F9D1F #2E1F9D #9D1F8E
monochromatic
#1C370B #356A15 #4F9D1F #69D029 #8BDE58
Accessibility & contrast
On white
3.40
#4F9D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#4F9D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F9D1F
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F9D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F9D1F | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 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)
#A38F00
Deuteranopia (green-blind)
#98892E
Tritanopia (blue-blind)
#4B9786
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #4f9d1f; /* rgb */ color: rgb(79, 157, 31); /* oklch */ color: oklch(62.2% 0.173 136.7);
Tailwind
colors: {
custom: {
50: '#88ba66',
500: '#4f9d1f',
950: '#000000',
},
}SCSS
$custom: #4f9d1f; $custom-light: #88ba66; $custom-dark: #000000;
JSON
{
"hex": "#4f9d1f",
"rgb": {
"r": 79,
"g": 157,
"b": 31
},
"hsl": {
"h": 97.143,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.62219,
"c": 0.17321,
"h": 136.7
},
"luminance": 0.25875
}Semantic roles & 50–950 ramp
primary
#4F9D1F
secondary
#9956C2
accent
#3EEAA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A