#337E1D#337E1D
#337E1D is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.150 H 139.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #337E1D |
|---|---|
| RGB | rgb(51, 126, 29) |
| HSL | hsl(106, 63%, 30%) |
| HSV | hsv(106, 77%, 49%) |
| CMYK | cmyk(59.5%, 0%, 77%, 50.6%) |
| CIE-LAB | lab(46.60, -41.51, 43.04) |
| CIE-LCH | lch(46.60, 59.80, 133.97°) |
| OKLab | oklab(52.59% -0.1141 0.0968) |
| OKLCH | oklch(52.59% 0.15 139.7) |
| XYZ | xyz(9.0475, 15.7134, 3.7184) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.90
Dark Grass Green
#388004
ΔE00 2.66
Green
#008000
ΔE00 3.23
Forestgreen (CSS)
#228B22
ΔE00 4.76
Darkish Green
#287C37
ΔE00 5.03
Emerald Green
#028F1E
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337E1D #681D7E
analogous
#637E1D #337E1D #1D7E37
triadic
#337E1D #1D337E #7E1D33
tetradic
#337E1D #1D637E #681D7E #7E371D
square
#337E1D #1D637E #681D7E #7E371D
split-complementary
#337E1D #371D7E #7E1D63
monochromatic
#0B1B06 #1F4C12 #337E1D #47B028 #63D342
Accessibility & contrast
On white
5.07
#337E1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#337E1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337E1D
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337E1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337E1D | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827209
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#2A7A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #337e1d; /* rgb */ color: rgb(51, 126, 29); /* oklch */ color: oklch(52.6% 0.150 139.7);
Tailwind
colors: {
custom: {
50: '#74a460',
500: '#337e1d',
950: '#000000',
},
}SCSS
$custom: #337e1d; $custom-light: #74a460; $custom-dark: #000000;
JSON
{
"hex": "#337e1d",
"rgb": {
"r": 51,
"g": 126,
"b": 29
},
"hsl": {
"h": 106.392,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.52589,
"c": 0.14965,
"h": 139.7
},
"luminance": 0.15714
}Semantic roles & 50–950 ramp
primary
#337E1D
secondary
#9945B1
accent
#42E6C1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79