#337E18#337E18
#337E18 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.152 H 139.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #337E18 |
|---|---|
| RGB | rgb(51, 126, 24) |
| HSL | hsl(104, 68%, 29%) |
| HSV | hsv(104, 81%, 49%) |
| CMYK | cmyk(59.5%, 0%, 81%, 50.6%) |
| CIE-LAB | lab(46.57, -41.86, 44.78) |
| CIE-LCH | lch(46.57, 61.30, 133.07°) |
| OKLab | oklab(52.55% -0.1153 0.0997) |
| OKLCH | oklch(52.55% 0.152 139.2) |
| XYZ | xyz(8.9906, 15.6907, 3.4188) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.02
Dark Grass Green
#388004
ΔE00 2.11
Green
#008000
ΔE00 3.04
Forestgreen (CSS)
#228B22
ΔE00 4.84
Darkish Green
#287C37
ΔE00 5.60
Emerald Green
#028F1E
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337E18 #63187E
analogous
#667E18 #337E18 #187E30
triadic
#337E18 #18337E #7E1833
tetradic
#337E18 #18667E #63187E #7E3018
square
#337E18 #18667E #63187E #7E3018
split-complementary
#337E18 #30187E #7E1866
monochromatic
#0A1A05 #1E4B0E #337E18 #48B122 #62D937
Accessibility & contrast
On white
5.07
#337E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#337E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337E18
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337E18 | 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)
#827200
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#2B7A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #337e18; /* rgb */ color: rgb(51, 126, 24); /* oklch */ color: oklch(52.6% 0.152 139.2);
Tailwind
colors: {
custom: {
50: '#74a45e',
500: '#337e18',
950: '#000000',
},
}SCSS
$custom: #337e18; $custom-light: #74a45e; $custom-dark: #000000;
JSON
{
"hex": "#337e18",
"rgb": {
"r": 51,
"g": 126,
"b": 24
},
"hsl": {
"h": 104.118,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.52554,
"c": 0.15246,
"h": 139.2
},
"luminance": 0.15691
}Semantic roles & 50–950 ramp
primary
#337E18
secondary
#943FB2
accent
#3DEBBD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79