#4F9A20#4F9A20
#4F9A20 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.4% C 0.169 H 136.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4F9A20 |
|---|---|
| RGB | rgb(79, 154, 32) |
| HSL | hsl(97, 66%, 36%) |
| HSV | hsv(97, 79%, 60%) |
| CMYK | cmyk(48.7%, 0%, 79.2%, 39.6%) |
| CIE-LAB | lab(56.96, -44.02, 52.42) |
| CIE-LCH | lch(56.96, 68.45, 130.02°) |
| OKLab | oklab(61.43% -0.1225 0.1165) |
| OKLCH | oklch(61.43% 0.169 136.4) |
| XYZ | xyz(15.0403, 24.8767, 5.3754) |
| Luminance | 0.2488 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 1.87
Grassy Green
#419C03
ΔE00 2.01
Lawn Green
#4DA409
ΔE00 3.55
True Green
#089404
ΔE00 5.32
Leaf Green
#5CA904
ΔE00 5.53
Grass
#5CAC2D
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F9A20 #6B209A
analogous
#8C9A20 #4F9A20 #209A2E
triadic
#4F9A20 #204F9A #9A204F
tetradic
#4F9A20 #208C9A #6B209A #9A2E20
square
#4F9A20 #208C9A #6B209A #9A2E20
split-complementary
#4F9A20 #2E209A #9A208C
monochromatic
#1B350B #356715 #4F9A20 #69CD2B #8BDC58
Accessibility & contrast
On white
3.51
#4F9A20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#4F9A20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F9A20
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F9A20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F9A20 | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8D00
Deuteranopia (green-blind)
#96862E
Tritanopia (blue-blind)
#4B9483
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #4f9a20; /* rgb */ color: rgb(79, 154, 32); /* oklch */ color: oklch(61.4% 0.169 136.4);
Tailwind
colors: {
custom: {
50: '#88b866',
500: '#4f9a20',
950: '#000000',
},
}SCSS
$custom: #4f9a20; $custom-light: #88b866; $custom-dark: #000000;
JSON
{
"hex": "#4f9a20",
"rgb": {
"r": 79,
"g": 154,
"b": 32
},
"hsl": {
"h": 96.885,
"s": 65.591,
"l": 36.471
},
"oklch": {
"l": 0.61429,
"c": 0.16907,
"h": 136.4
},
"luminance": 0.24878
}Semantic roles & 50–950 ramp
primary
#4F9A20
secondary
#9756C0
accent
#3FE9A7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A