#337D1F#337D1F
#337D1F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.147 H 139.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #337D1F |
|---|---|
| RGB | rgb(51, 125, 31) |
| HSL | hsl(107, 60%, 31%) |
| HSV | hsv(107, 75%, 49%) |
| CMYK | cmyk(59.2%, 0%, 75.2%, 51%) |
| CIE-LAB | lab(46.27, -40.97, 41.94) |
| CIE-LCH | lch(46.27, 58.63, 134.33°) |
| OKLab | oklab(52.32% -0.1125 0.0949) |
| OKLCH | oklch(52.32% 0.147 139.9) |
| XYZ | xyz(8.9458, 15.4692, 3.8105) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.05
Dark Grass Green
#388004
ΔE00 3.06
Green
#008000
ΔE00 3.46
Darkish Green
#287C37
ΔE00 4.68
Forestgreen (CSS)
#228B22
ΔE00 5.09
Emerald Green
#028F1E
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337D1F #691F7D
analogous
#627D1F #337D1F #1F7D3A
triadic
#337D1F #1F337D #7D1F33
tetradic
#337D1F #1F627D #691F7D #7D3A1F
square
#337D1F #1F627D #691F7D #7D3A1F
split-complementary
#337D1F #3A1F7D #7D1F62
monochromatic
#0B1B07 #1F4C13 #337D1F #47AE2B #63D145
Accessibility & contrast
On white
5.13
#337D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#337D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337D1F
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337D1F | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81710E
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#2A796B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #337d1f; /* rgb */ color: rgb(51, 125, 31); /* oklch */ color: oklch(52.3% 0.147 139.9);
Tailwind
colors: {
custom: {
50: '#74a361',
500: '#337d1f',
950: '#000000',
},
}SCSS
$custom: #337d1f; $custom-light: #74a361; $custom-dark: #000000;
JSON
{
"hex": "#337d1f",
"rgb": {
"r": 51,
"g": 125,
"b": 31
},
"hsl": {
"h": 107.234,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.52324,
"c": 0.14714,
"h": 139.9
},
"luminance": 0.1547
}Semantic roles & 50–950 ramp
primary
#337D1F
secondary
#9A48B0
accent
#44E3C2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79