#4F9B1F#4F9B1F
#4F9B1F is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.7% C 0.171 H 136.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4F9B1F |
|---|---|
| RGB | rgb(79, 155, 31) |
| HSL | hsl(97, 67%, 36%) |
| HSV | hsv(97, 80%, 61%) |
| CMYK | cmyk(49%, 0%, 80%, 39.2%) |
| CIE-LAB | lab(57.27, -44.48, 53.03) |
| CIE-LCH | lch(57.27, 69.21, 129.99°) |
| OKLab | oklab(61.69% -0.1238 0.1176) |
| OKLCH | oklch(61.69% 0.171 136.5) |
| XYZ | xyz(15.1927, 25.2029, 5.3601) |
| Luminance | 0.2520 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 1.79
Grassy Green
#419C03
ΔE00 1.85
Lawn Green
#4DA409
ΔE00 3.21
Leaf Green
#5CA904
ΔE00 5.20
Grass
#5CAC2D
ΔE00 5.32
True Green
#089404
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F9B1F #6B1F9B
analogous
#8D9B1F #4F9B1F #1F9B2D
triadic
#4F9B1F #1F4F9B #9B1F4F
tetradic
#4F9B1F #1F8D9B #6B1F9B #9B2D1F
square
#4F9B1F #1F8D9B #6B1F9B #9B2D1F
split-complementary
#4F9B1F #2D1F9B #9B1F8D
monochromatic
#1B350B #356815 #4F9B1F #69CE29 #8BDD57
Accessibility & contrast
On white
3.48
#4F9B1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#4F9B1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F9B1F
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F9B1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F9B1F | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#4B9584
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #4f9b1f; /* rgb */ color: rgb(79, 155, 31); /* oklch */ color: oklch(61.7% 0.171 136.5);
Tailwind
colors: {
custom: {
50: '#88b966',
500: '#4f9b1f',
950: '#000000',
},
}SCSS
$custom: #4f9b1f; $custom-light: #88b966; $custom-dark: #000000;
JSON
{
"hex": "#4f9b1f",
"rgb": {
"r": 79,
"g": 155,
"b": 31
},
"hsl": {
"h": 96.774,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.61688,
"c": 0.17079,
"h": 136.5
},
"luminance": 0.25204
}Semantic roles & 50–950 ramp
primary
#4F9B1F
secondary
#9755C1
accent
#3EEAA7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A