#337F2E#337F2E
#337F2E is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.139 H 142.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #337F2E |
|---|---|
| RGB | rgb(51, 127, 46) |
| HSL | hsl(116, 47%, 34%) |
| HSV | hsv(116, 64%, 50%) |
| CMYK | cmyk(59.8%, 0%, 63.8%, 50.2%) |
| CIE-LAB | lab(47.08, -40.28, 36.24) |
| CIE-LCH | lch(47.08, 54.18, 138.02°) |
| OKLab | oklab(53.03% -0.1097 0.0847) |
| OKLCH | oklch(53.03% 0.139 142.3) |
| XYZ | xyz(9.4473, 16.0790, 5.1899) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.76
Darkish Green
#287C37
ΔE00 2.84
Green
#008000
ΔE00 4.78
Forestgreen (CSS)
#228B22
ΔE00 4.90
Dark Grass Green
#388004
ΔE00 4.99
Jungle Green
#048243
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337F2E #7A2E7F
analogous
#5C7F2E #337F2E #2E7F52
triadic
#337F2E #2E337F #7F2E33
tetradic
#337F2E #2E5C7F #7A2E7F #7F522E
square
#337F2E #2E5C7F #7A2E7F #7F522E
split-complementary
#337F2E #522E7F #7F2E5C
monochromatic
#0F250D #21521E #337F2E #45AC3E #68C661
Accessibility & contrast
On white
4.98
#337F2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#337F2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337F2E
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337F2E | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827425
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#277B6E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #337f2e; /* rgb */ color: rgb(51, 127, 46); /* oklch */ color: oklch(53.0% 0.139 142.3);
Tailwind
colors: {
custom: {
50: '#73a56a',
500: '#337f2e',
950: '#000000',
},
}SCSS
$custom: #337f2e; $custom-light: #73a56a; $custom-dark: #000000;
JSON
{
"hex": "#337f2e",
"rgb": {
"r": 51,
"g": 127,
"b": 46
},
"hsl": {
"h": 116.296,
"s": 46.821,
"l": 33.922
},
"oklch": {
"l": 0.53032,
"c": 0.13859,
"h": 142.3
},
"luminance": 0.1608
}Semantic roles & 50–950 ramp
primary
#337F2E
secondary
#A85CAD
accent
#51D6CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A