#337E26#337E26
#337E26 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.144 H 140.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #337E26 |
|---|---|
| RGB | rgb(51, 126, 38) |
| HSL | hsl(111, 54%, 32%) |
| HSV | hsv(111, 70%, 49%) |
| CMYK | cmyk(59.5%, 0%, 69.8%, 50.6%) |
| CIE-LAB | lab(46.66, -40.74, 39.45) |
| CIE-LCH | lch(46.66, 56.71, 135.92°) |
| OKLab | oklab(52.67% -0.1114 0.0906) |
| OKLCH | oklch(52.67% 0.144 140.9) |
| XYZ | xyz(9.1755, 15.7647, 4.3927) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.63
Darkish Green
#287C37
ΔE00 3.84
Dark Grass Green
#388004
ΔE00 3.85
Green
#008000
ΔE00 3.91
Forestgreen (CSS)
#228B22
ΔE00 4.84
Emerald Green
#028F1E
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337E26 #71267E
analogous
#5F7E26 #337E26 #267E45
triadic
#337E26 #26337E #7E2633
tetradic
#337E26 #265F7E #71267E #7E4526
square
#337E26 #265F7E #71267E #7E4526
split-complementary
#337E26 #45267E #7E265F
monochromatic
#0D200A #204F18 #337E26 #46AD34 #65CB53
Accessibility & contrast
On white
5.06
#337E26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#337E26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337E26
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337E26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337E26 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#297A6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #337e26; /* rgb */ color: rgb(51, 126, 38); /* oklch */ color: oklch(52.7% 0.144 140.9);
Tailwind
colors: {
custom: {
50: '#74a465',
500: '#337e26',
950: '#000000',
},
}SCSS
$custom: #337e26; $custom-light: #74a465; $custom-dark: #000000;
JSON
{
"hex": "#337e26",
"rgb": {
"r": 51,
"g": 126,
"b": 38
},
"hsl": {
"h": 111.136,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.52666,
"c": 0.14359,
"h": 140.9
},
"luminance": 0.15765
}Semantic roles & 50–950 ramp
primary
#337E26
secondary
#A250B0
accent
#4BDDC7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A