#337F2F#337F2F
#337F2F is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.138 H 142.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #337F2F |
|---|---|
| RGB | rgb(51, 127, 47) |
| HSL | hsl(117, 46%, 34%) |
| HSV | hsv(117, 63%, 50%) |
| CMYK | cmyk(59.8%, 0%, 63%, 50.2%) |
| CIE-LAB | lab(47.09, -40.16, 35.77) |
| CIE-LCH | lch(47.09, 53.78, 138.31°) |
| OKLab | oklab(53.04% -0.1093 0.0838) |
| OKLCH | oklch(53.04% 0.138 142.5) |
| XYZ | xyz(9.4672, 16.0869, 5.2950) |
| Luminance | 0.1609 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.69
Tree Green
#2A7E19
ΔE00 2.93
Green
#008000
ΔE00 4.92
Forestgreen (CSS)
#228B22
ΔE00 4.98
Dark Grass Green
#388004
ΔE00 5.16
Jungle Green
#048243
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337F2F #7B2F7F
analogous
#5B7F2F #337F2F #2F7F53
triadic
#337F2F #2F337F #7F2F33
tetradic
#337F2F #2F5B7F #7B2F7F #7F532F
square
#337F2F #2F5B7F #7B2F7F #7F532F
split-complementary
#337F2F #532F7F #7F2F5B
monochromatic
#0F260E #21521E #337F2F #45AC40 #68C563
Accessibility & contrast
On white
4.98
#337F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#337F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337F2F
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337F2F | 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)
#827426
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#277B6E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #337f2f; /* rgb */ color: rgb(51, 127, 47); /* oklch */ color: oklch(53.0% 0.138 142.5);
Tailwind
colors: {
custom: {
50: '#73a56b',
500: '#337f2f',
950: '#000000',
},
}SCSS
$custom: #337f2f; $custom-light: #73a56b; $custom-dark: #000000;
JSON
{
"hex": "#337f2f",
"rgb": {
"r": 51,
"g": 127,
"b": 47
},
"hsl": {
"h": 117,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.53044,
"c": 0.13775,
"h": 142.5
},
"luminance": 0.16088
}Semantic roles & 50–950 ramp
primary
#337F2F
secondary
#A85EAC
accent
#52D6CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A