#518F2D#518F2D
#518F2D is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.146 H 136.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #518F2D |
|---|---|
| RGB | rgb(81, 143, 45) |
| HSL | hsl(98, 52%, 37%) |
| HSV | hsv(98, 69%, 56%) |
| CMYK | cmyk(43.4%, 0%, 68.5%, 43.9%) |
| CIE-LAB | lab(53.58, -37.83, 44.17) |
| CIE-LCH | lch(53.58, 58.16, 130.58°) |
| OKLab | oklab(58.71% -0.105 0.1011) |
| OKLCH | oklch(58.71% 0.146 136.1) |
| XYZ | xyz(13.6891, 21.5829, 5.9267) |
| Luminance | 0.2158 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green (survey)
#658B38
ΔE00 3.96
Mossy Green
#638B27
ΔE00 3.99
Fern Green
#548D44
ΔE00 3.99
Sap Green
#5C8B15
ΔE00 4.09
Forestgreen (CSS)
#228B22
ΔE00 5.12
Grass Green
#3F9B0B
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#518F2D #6B2D8F
analogous
#828F2D #518F2D #2D8F3A
triadic
#518F2D #2D518F #8F2D51
tetradic
#518F2D #2D828F #6B2D8F #8F3A2D
square
#518F2D #2D828F #6B2D8F #8F3A2D
split-complementary
#518F2D #3A2D8F #8F2D82
monochromatic
#1C3210 #37601E #518F2D #6BBE3C #8DCF67
Accessibility & contrast
On white
3.95
#518F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#518F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #518F2D
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##518F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##518F2D | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94831F
Deuteranopia (green-blind)
#8C7E36
Tritanopia (blue-blind)
#4F8A7B
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #518f2d; /* rgb */ color: rgb(81, 143, 45); /* oklch */ color: oklch(58.7% 0.146 136.1);
Tailwind
colors: {
custom: {
50: '#87b06b',
500: '#518f2d',
950: '#000000',
},
}SCSS
$custom: #518f2d; $custom-light: #87b06b; $custom-dark: #000000;
JSON
{
"hex": "#518f2d",
"rgb": {
"r": 81,
"g": 143,
"b": 45
},
"hsl": {
"h": 97.959,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.58713,
"c": 0.14578,
"h": 136.1
},
"luminance": 0.21584
}Semantic roles & 50–950 ramp
primary
#518F2D
secondary
#9762B6
accent
#4CDCA7
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A