#4F902A#4F902A
#4F902A is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 58.8% C 0.150 H 136.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4F902A |
|---|---|
| RGB | rgb(79, 144, 42) |
| HSL | hsl(98, 55%, 36%) |
| HSV | hsv(98, 71%, 56%) |
| CMYK | cmyk(45.1%, 0%, 70.8%, 43.5%) |
| CIE-LAB | lab(53.79, -39.19, 45.61) |
| CIE-LCH | lch(53.79, 60.14, 130.67°) |
| OKLab | oklab(58.85% -0.1088 0.1037) |
| OKLCH | oklch(58.85% 0.15 136.4) |
| XYZ | xyz(13.6153, 21.7751, 5.6756) |
| Luminance | 0.2178 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 4.11
Mossy Green
#638B27
ΔE00 4.22
Moss Green (survey)
#658B38
ΔE00 4.42
Fern Green
#548D44
ΔE00 4.45
Grass Green
#3F9B0B
ΔE00 4.69
Forestgreen (CSS)
#228B22
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F902A #6B2A90
analogous
#82902A #4F902A #2A9038
triadic
#4F902A #2A4F90 #902A4F
tetradic
#4F902A #2A8290 #6B2A90 #90382A
square
#4F902A #2A8290 #6B2A90 #90382A
split-complementary
#4F902A #382A90 #902A82
monochromatic
#1B310E #35611C #4F902A #69BF38 #8BD163
Accessibility & contrast
On white
3.92
#4F902A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#4F902A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F902A
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F902A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F902A | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95841A
Deuteranopia (green-blind)
#8C7F33
Tritanopia (blue-blind)
#4C8B7C
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4f902a; /* rgb */ color: rgb(79, 144, 42); /* oklch */ color: oklch(58.8% 0.150 136.4);
Tailwind
colors: {
custom: {
50: '#86b16a',
500: '#4f902a',
950: '#000000',
},
}SCSS
$custom: #4f902a; $custom-light: #86b16a; $custom-dark: #000000;
JSON
{
"hex": "#4f902a",
"rgb": {
"r": 79,
"g": 144,
"b": 42
},
"hsl": {
"h": 98.235,
"s": 54.839,
"l": 36.471
},
"oklch": {
"l": 0.58849,
"c": 0.15035,
"h": 136.4
},
"luminance": 0.21776
}Semantic roles & 50–950 ramp
primary
#4F902A
secondary
#975EB7
accent
#4ADEA8
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1107
muted
#7D807A