#337E15#337E15
#337E15 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.154 H 138.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #337E15 |
|---|---|
| RGB | rgb(51, 126, 21) |
| HSL | hsl(103, 71%, 29%) |
| HSV | hsv(103, 83%, 49%) |
| CMYK | cmyk(59.5%, 0%, 83.3%, 50.6%) |
| CIE-LAB | lab(46.55, -42.05, 45.72) |
| CIE-LCH | lch(46.55, 62.11, 132.60°) |
| OKLab | oklab(52.54% -0.116 0.1012) |
| OKLCH | oklch(52.54% 0.154 138.9) |
| XYZ | xyz(8.9611, 15.6789, 3.2634) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.20
Dark Grass Green
#388004
ΔE00 1.83
Green
#008000
ΔE00 2.98
Forestgreen (CSS)
#228B22
ΔE00 4.91
Darkish Green
#287C37
ΔE00 5.91
Avocado
#568203
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337E15 #60157E
analogous
#687E15 #337E15 #157E2C
triadic
#337E15 #15337E #7E1533
tetradic
#337E15 #15687E #60157E #7E2C15
square
#337E15 #15687E #60157E #7E2C15
split-complementary
#337E15 #2C157E #7E1568
monochromatic
#0B1A04 #1E4A0C #337E15 #48B21E #62DD31
Accessibility & contrast
On white
5.08
#337E15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#337E15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337E15
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337E15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337E15 | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#2B796B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #337e15; /* rgb */ color: rgb(51, 126, 21); /* oklch */ color: oklch(52.5% 0.154 138.9);
Tailwind
colors: {
custom: {
50: '#74a45d',
500: '#337e15',
950: '#000000',
},
}SCSS
$custom: #337e15; $custom-light: #74a45d; $custom-dark: #000000;
JSON
{
"hex": "#337e15",
"rgb": {
"r": 51,
"g": 126,
"b": 21
},
"hsl": {
"h": 102.857,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.52536,
"c": 0.15396,
"h": 138.9
},
"luminance": 0.1568
}Semantic roles & 50–950 ramp
primary
#337E15
secondary
#913CB3
accent
#3AEEBB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79