#4F8F2A#4F8F2A
#4F8F2A is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.6% C 0.149 H 136.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4F8F2A |
|---|---|
| RGB | rgb(79, 143, 42) |
| HSL | hsl(98, 55%, 36%) |
| HSV | hsv(98, 71%, 56%) |
| CMYK | cmyk(44.8%, 0%, 70.6%, 43.9%) |
| CIE-LAB | lab(53.46, -38.77, 45.28) |
| CIE-LCH | lch(53.46, 59.60, 130.57°) |
| OKLab | oklab(58.58% -0.1077 0.103) |
| OKLCH | oklch(58.58% 0.149 136.3) |
| XYZ | xyz(13.4645, 21.4736, 5.6254) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 4.01
Mossy Green
#638B27
ΔE00 4.10
Moss Green (survey)
#658B38
ΔE00 4.27
Fern Green
#548D44
ΔE00 4.33
Forestgreen (CSS)
#228B22
ΔE00 4.90
Grass Green
#3F9B0B
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F8F2A #6A2A8F
analogous
#828F2A #4F8F2A #2A8F38
triadic
#4F8F2A #2A4F8F #8F2A4F
tetradic
#4F8F2A #2A828F #6A2A8F #8F382A
square
#4F8F2A #2A828F #6A2A8F #8F382A
split-complementary
#4F8F2A #382A8F #8F2A82
monochromatic
#1B300E #35601C #4F8F2A #69BE38 #8BD162
Accessibility & contrast
On white
3.97
#4F8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#4F8F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F8F2A
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F8F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F8F2A | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#8B7E33
Tritanopia (blue-blind)
#4C8A7B
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #4f8f2a; /* rgb */ color: rgb(79, 143, 42); /* oklch */ color: oklch(58.6% 0.149 136.3);
Tailwind
colors: {
custom: {
50: '#86b069',
500: '#4f8f2a',
950: '#000000',
},
}SCSS
$custom: #4f8f2a; $custom-light: #86b069; $custom-dark: #000000;
JSON
{
"hex": "#4f8f2a",
"rgb": {
"r": 79,
"g": 143,
"b": 42
},
"hsl": {
"h": 98.02,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.58583,
"c": 0.14902,
"h": 136.3
},
"luminance": 0.21474
}Semantic roles & 50–950 ramp
primary
#4F8F2A
secondary
#965EB7
accent
#4ADEA8
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A