#4E8F2A#4E8F2A
#4E8F2A is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.150 H 136.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4E8F2A |
|---|---|
| RGB | rgb(78, 143, 42) |
| HSL | hsl(99, 55%, 36%) |
| HSV | hsv(99, 71%, 56%) |
| CMYK | cmyk(45.5%, 0%, 70.6%, 43.9%) |
| CIE-LAB | lab(53.42, -39.10, 45.21) |
| CIE-LCH | lch(53.42, 59.78, 130.85°) |
| OKLab | oklab(58.53% -0.1085 0.1029) |
| OKLCH | oklch(58.53% 0.15 136.5) |
| XYZ | xyz(13.3819, 21.4310, 5.6215) |
| Luminance | 0.2143 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 4.13
Mossy Green
#638B27
ΔE00 4.24
Fern Green
#548D44
ΔE00 4.30
Moss Green (survey)
#658B38
ΔE00 4.39
Forestgreen (CSS)
#228B22
ΔE00 4.76
Grass Green
#3F9B0B
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E8F2A #6B2A8F
analogous
#818F2A #4E8F2A #2A8F39
triadic
#4E8F2A #2A4E8F #8F2A4E
tetradic
#4E8F2A #2A818F #6B2A8F #8F392A
square
#4E8F2A #2A818F #6B2A8F #8F392A
split-complementary
#4E8F2A #392A8F #8F2A81
monochromatic
#1A300E #34601C #4E8F2A #68BE38 #8AD162
Accessibility & contrast
On white
3.97
#4E8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#4E8F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E8F2A
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E8F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E8F2A | 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)
#4B8A7B
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #4e8f2a; /* rgb */ color: rgb(78, 143, 42); /* oklch */ color: oklch(58.5% 0.150 136.5);
Tailwind
colors: {
custom: {
50: '#85b069',
500: '#4e8f2a',
950: '#000000',
},
}SCSS
$custom: #4e8f2a; $custom-light: #85b069; $custom-dark: #000000;
JSON
{
"hex": "#4e8f2a",
"rgb": {
"r": 78,
"g": 143,
"b": 42
},
"hsl": {
"h": 98.614,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.58533,
"c": 0.14955,
"h": 136.5
},
"luminance": 0.21432
}Semantic roles & 50–950 ramp
primary
#4E8F2A
secondary
#975EB7
accent
#4ADEA9
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A