#508F2D#508F2D
#508F2D is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.7% C 0.146 H 136.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #508F2D |
|---|---|
| RGB | rgb(80, 143, 45) |
| HSL | hsl(99, 52%, 37%) |
| HSV | hsv(99, 69%, 56%) |
| CMYK | cmyk(44.1%, 0%, 68.5%, 43.9%) |
| CIE-LAB | lab(53.53, -38.17, 44.11) |
| CIE-LCH | lch(53.53, 58.33, 130.87°) |
| OKLab | oklab(58.66% -0.1059 0.101) |
| OKLCH | oklch(58.66% 0.146 136.4) |
| XYZ | xyz(13.6040, 21.5391, 5.9227) |
| Luminance | 0.2154 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Fern Green
#548D44
ΔE00 3.96
Moss Green (survey)
#658B38
ΔE00 4.09
Mossy Green
#638B27
ΔE00 4.13
Sap Green
#5C8B15
ΔE00 4.21
Forestgreen (CSS)
#228B22
ΔE00 4.97
Grass Green
#3F9B0B
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#508F2D #6C2D8F
analogous
#818F2D #508F2D #2D8F3B
triadic
#508F2D #2D508F #8F2D50
tetradic
#508F2D #2D818F #6C2D8F #8F3B2D
square
#508F2D #2D818F #6C2D8F #8F3B2D
split-complementary
#508F2D #3B2D8F #8F2D81
monochromatic
#1C3210 #36601E #508F2D #6ABE3C #8CCF67
Accessibility & contrast
On white
3.96
#508F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#508F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #508F2D
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##508F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##508F2D | 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)
#948320
Deuteranopia (green-blind)
#8B7E36
Tritanopia (blue-blind)
#4D8A7B
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #508f2d; /* rgb */ color: rgb(80, 143, 45); /* oklch */ color: oklch(58.7% 0.146 136.4);
Tailwind
colors: {
custom: {
50: '#86b06b',
500: '#508f2d',
950: '#000000',
},
}SCSS
$custom: #508f2d; $custom-light: #86b06b; $custom-dark: #000000;
JSON
{
"hex": "#508f2d",
"rgb": {
"r": 80,
"g": 143,
"b": 45
},
"hsl": {
"h": 98.571,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.58662,
"c": 0.14632,
"h": 136.4
},
"luminance": 0.2154
}Semantic roles & 50–950 ramp
primary
#508F2D
secondary
#9862B6
accent
#4CDCA8
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A