#518E2F#518E2F
#518E2F is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.5% C 0.143 H 136.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #518E2F |
|---|---|
| RGB | rgb(81, 142, 47) |
| HSL | hsl(99, 50%, 37%) |
| HSV | hsv(99, 67%, 56%) |
| CMYK | cmyk(43%, 0%, 66.9%, 44.3%) |
| CIE-LAB | lab(53.28, -37.22, 42.98) |
| CIE-LCH | lch(53.28, 56.85, 130.89°) |
| OKLab | oklab(58.47% -0.1032 0.0988) |
| OKLCH | oklch(58.47% 0.143 136.2) |
| XYZ | xyz(13.5791, 21.2998, 6.0845) |
| Luminance | 0.2130 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Fern Green
#548D44
ΔE00 3.59
Moss Green (survey)
#658B38
ΔE00 3.79
Mossy Green
#638B27
ΔE00 4.04
Sap Green
#5C8B15
ΔE00 4.27
Forestgreen (CSS)
#228B22
ΔE00 5.01
Grass Green
#3F9B0B
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#518E2F #6C2F8E
analogous
#818E2F #518E2F #2F8E3C
triadic
#518E2F #2F518E #8E2F51
tetradic
#518E2F #2F818E #6C2F8E #8E3C2F
square
#518E2F #2F818E #6C2F8E #8E3C2F
split-complementary
#518E2F #3C2F8E #8E2F81
monochromatic
#1D3211 #376020 #518E2F #6BBC3E #8ECE6A
Accessibility & contrast
On white
3.99
#518E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#518E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #518E2F
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##518E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##518E2F | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938223
Deuteranopia (green-blind)
#8B7D37
Tritanopia (blue-blind)
#4F897A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #518e2f; /* rgb */ color: rgb(81, 142, 47); /* oklch */ color: oklch(58.5% 0.143 136.2);
Tailwind
colors: {
custom: {
50: '#87af6c',
500: '#518e2f',
950: '#000000',
},
}SCSS
$custom: #518e2f; $custom-light: #87af6c; $custom-dark: #000000;
JSON
{
"hex": "#518e2f",
"rgb": {
"r": 81,
"g": 142,
"b": 47
},
"hsl": {
"h": 98.526,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.58468,
"c": 0.1429,
"h": 136.2
},
"luminance": 0.21301
}Semantic roles & 50–950 ramp
primary
#518E2F
secondary
#9864B5
accent
#4EDAA8
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A