#337E1E#337E1E
#337E1E is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.149 H 139.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #337E1E |
|---|---|
| RGB | rgb(51, 126, 30) |
| HSL | hsl(107, 62%, 31%) |
| HSV | hsv(107, 76%, 49%) |
| CMYK | cmyk(59.5%, 0%, 76.2%, 50.6%) |
| CIE-LAB | lab(46.60, -41.44, 42.67) |
| CIE-LCH | lch(46.60, 59.48, 134.16°) |
| OKLab | oklab(52.6% -0.1138 0.0962) |
| OKLCH | oklch(52.6% 0.149 139.8) |
| XYZ | xyz(9.0600, 15.7185, 3.7846) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.92
Dark Grass Green
#388004
ΔE00 2.78
Green
#008000
ΔE00 3.28
Forestgreen (CSS)
#228B22
ΔE00 4.75
Darkish Green
#287C37
ΔE00 4.91
Emerald Green
#028F1E
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337E1E #691E7E
analogous
#637E1E #337E1E #1E7E39
triadic
#337E1E #1E337E #7E1E33
tetradic
#337E1E #1E637E #691E7E #7E391E
square
#337E1E #1E637E #691E7E #7E391E
split-complementary
#337E1E #391E7E #7E1E63
monochromatic
#0B1B06 #1F4D12 #337E1E #47AF2A #63D244
Accessibility & contrast
On white
5.07
#337E1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#337E1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337E1E
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337E1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337E1E | 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)
#82720B
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#2A7A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #337e1e; /* rgb */ color: rgb(51, 126, 30); /* oklch */ color: oklch(52.6% 0.149 139.8);
Tailwind
colors: {
custom: {
50: '#74a461',
500: '#337e1e',
950: '#000000',
},
}SCSS
$custom: #337e1e; $custom-light: #74a461; $custom-dark: #000000;
JSON
{
"hex": "#337e1e",
"rgb": {
"r": 51,
"g": 126,
"b": 30
},
"hsl": {
"h": 106.875,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.52596,
"c": 0.14904,
"h": 139.8
},
"luminance": 0.15719
}Semantic roles & 50–950 ramp
primary
#337E1E
secondary
#9A47B1
accent
#43E5C1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79