#337E2F#337E2F
#337E2F is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.8% C 0.136 H 142.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #337E2F |
|---|---|
| RGB | rgb(51, 126, 47) |
| HSL | hsl(117, 46%, 34%) |
| HSV | hsv(117, 63%, 49%) |
| CMYK | cmyk(59.5%, 0%, 62.7%, 50.6%) |
| CIE-LAB | lab(46.75, -39.76, 35.39) |
| CIE-LCH | lch(46.75, 53.22, 138.33°) |
| OKLab | oklab(52.76% -0.1082 0.083) |
| OKLCH | oklch(52.76% 0.136 142.5) |
| XYZ | xyz(9.3387, 15.8299, 5.2521) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.49
Tree Green
#2A7E19
ΔE00 3.00
Green
#008000
ΔE00 5.03
Dark Grass Green
#388004
ΔE00 5.29
Forestgreen (CSS)
#228B22
ΔE00 5.33
Jungle Green
#048243
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337E2F #7A2F7E
analogous
#5B7E2F #337E2F #2F7E53
triadic
#337E2F #2F337E #7E2F33
tetradic
#337E2F #2F5B7E #7A2F7E #7E532F
square
#337E2F #2F5B7E #7A2F7E #7E532F
split-complementary
#337E2F #532F7E #7E2F5B
monochromatic
#0F250E #21511E #337E2F #45AB40 #68C563
Accessibility & contrast
On white
5.04
#337E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#337E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337E2F
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337E2F | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#277A6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #337e2f; /* rgb */ color: rgb(51, 126, 47); /* oklch */ color: oklch(52.8% 0.136 142.5);
Tailwind
colors: {
custom: {
50: '#73a46b',
500: '#337e2f',
950: '#000000',
},
}SCSS
$custom: #337e2f; $custom-light: #73a46b; $custom-dark: #000000;
JSON
{
"hex": "#337e2f",
"rgb": {
"r": 51,
"g": 126,
"b": 47
},
"hsl": {
"h": 116.962,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.52765,
"c": 0.13638,
"h": 142.5
},
"luminance": 0.15831
}Semantic roles & 50–950 ramp
primary
#337E2F
secondary
#A85DAC
accent
#52D5CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A