#508F2E#508F2E
#508F2E is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.7% C 0.146 H 136.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #508F2E |
|---|---|
| RGB | rgb(80, 143, 46) |
| HSL | hsl(99, 51%, 37%) |
| HSV | hsv(99, 68%, 56%) |
| CMYK | cmyk(44.1%, 0%, 67.8%, 43.9%) |
| CIE-LAB | lab(53.54, -38.08, 43.69) |
| CIE-LCH | lch(53.54, 57.96, 131.08°) |
| OKLab | oklab(58.67% -0.1056 0.1002) |
| OKLCH | oklch(58.67% 0.146 136.5) |
| XYZ | xyz(13.6235, 21.5469, 6.0253) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Fern Green
#548D44
ΔE00 3.82
Moss Green (survey)
#658B38
ΔE00 4.07
Mossy Green
#638B27
ΔE00 4.20
Sap Green
#5C8B15
ΔE00 4.33
Forestgreen (CSS)
#228B22
ΔE00 4.95
Grass Green
#3F9B0B
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#508F2E #6D2E8F
analogous
#818F2E #508F2E #2E8F3D
triadic
#508F2E #2E508F #8F2E50
tetradic
#508F2E #2E818F #6D2E8F #8F3D2E
square
#508F2E #2E818F #6D2E8F #8F3D2E
split-complementary
#508F2E #3D2E8F #8F2E81
monochromatic
#1C3210 #36611F #508F2E #6ABD3D #8CCF69
Accessibility & contrast
On white
3.96
#508F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#508F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #508F2E
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##508F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##508F2E | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948321
Deuteranopia (green-blind)
#8B7E36
Tritanopia (blue-blind)
#4D8A7B
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #508f2e; /* rgb */ color: rgb(80, 143, 46); /* oklch */ color: oklch(58.7% 0.146 136.5);
Tailwind
colors: {
custom: {
50: '#86b06c',
500: '#508f2e',
950: '#000000',
},
}SCSS
$custom: #508f2e; $custom-light: #86b06c; $custom-dark: #000000;
JSON
{
"hex": "#508f2e",
"rgb": {
"r": 80,
"g": 143,
"b": 46
},
"hsl": {
"h": 98.969,
"s": 51.323,
"l": 37.059
},
"oklch": {
"l": 0.58671,
"c": 0.14557,
"h": 136.5
},
"luminance": 0.21548
}Semantic roles & 50–950 ramp
primary
#508F2E
secondary
#9963B6
accent
#4DDBA9
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1007
muted
#7D7F7A