#337D2F#337D2F
#337D2F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.135 H 142.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #337D2F |
|---|---|
| RGB | rgb(51, 125, 47) |
| HSL | hsl(117, 45%, 34%) |
| HSV | hsv(117, 62%, 49%) |
| CMYK | cmyk(59.2%, 0%, 62.4%, 51%) |
| CIE-LAB | lab(46.41, -39.35, 35.00) |
| CIE-LCH | lch(46.41, 52.66, 138.35°) |
| OKLab | oklab(52.49% -0.1071 0.0821) |
| OKLCH | oklch(52.49% 0.135 142.5) |
| XYZ | xyz(9.2115, 15.5755, 5.2097) |
| Luminance | 0.1558 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.33
Tree Green
#2A7E19
ΔE00 3.11
Green
#008000
ΔE00 5.17
Jungle Green
#048243
ΔE00 5.40
Dark Grass Green
#388004
ΔE00 5.44
Forestgreen (CSS)
#228B22
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337D2F #792F7D
analogous
#5A7D2F #337D2F #2F7D52
triadic
#337D2F #2F337D #7D2F33
tetradic
#337D2F #2F5A7D #792F7D #7D522F
square
#337D2F #2F5A7D #792F7D #7D522F
split-complementary
#337D2F #522F7D #7D2F5A
monochromatic
#0F240E #21511E #337D2F #45A940 #67C462
Accessibility & contrast
On white
5.10
#337D2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#337D2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337D2F
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337D2F | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#766C35
Tritanopia (blue-blind)
#27796C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #337d2f; /* rgb */ color: rgb(51, 125, 47); /* oklch */ color: oklch(52.5% 0.135 142.5);
Tailwind
colors: {
custom: {
50: '#73a36a',
500: '#337d2f',
950: '#000000',
},
}SCSS
$custom: #337d2f; $custom-light: #73a36a; $custom-dark: #000000;
JSON
{
"hex": "#337d2f",
"rgb": {
"r": 51,
"g": 125,
"b": 47
},
"hsl": {
"h": 116.923,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.52487,
"c": 0.135,
"h": 142.5
},
"luminance": 0.15576
}Semantic roles & 50–950 ramp
primary
#337D2F
secondary
#A75DAB
accent
#53D5CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A