#337A17#337A17
#337A17 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.148 H 138.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #337A17 |
|---|---|
| RGB | rgb(51, 122, 23) |
| HSL | hsl(103, 68%, 28%) |
| HSV | hsv(103, 81%, 48%) |
| CMYK | cmyk(58.2%, 0%, 81.1%, 52.2%) |
| CIE-LAB | lab(45.20, -40.37, 43.81) |
| CIE-LCH | lch(45.20, 59.57, 132.66°) |
| OKLab | oklab(51.42% -0.1114 0.0975) |
| OKLCH | oklch(51.42% 0.148 138.8) |
| XYZ | xyz(8.4791, 14.6840, 3.1979) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.71
Dark Grass Green
#388004
ΔE00 2.97
Green
#008000
ΔE00 3.65
Darkish Green
#287C37
ΔE00 5.49
Forestgreen (CSS)
#228B22
ΔE00 6.18
Avocado
#568203
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337A17 #5E177A
analogous
#647A17 #337A17 #177A2C
triadic
#337A17 #17337A #7A1733
tetradic
#337A17 #17647A #5E177A #7A2C17
square
#337A17 #17647A #5E177A #7A2C17
split-complementary
#337A17 #2C177A #7A1764
monochromatic
#0B1A05 #1D470D #337A17 #49AD21 #62D933
Accessibility & contrast
On white
5.33
#337A17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#337A17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337A17
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337A17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337A17 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#2C7668
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #337a17; /* rgb */ color: rgb(51, 122, 23); /* oklch */ color: oklch(51.4% 0.148 138.8);
Tailwind
colors: {
custom: {
50: '#74a15d',
500: '#337a17',
950: '#000000',
},
}SCSS
$custom: #337a17; $custom-light: #74a15d; $custom-dark: #000000;
JSON
{
"hex": "#337a17",
"rgb": {
"r": 51,
"g": 122,
"b": 23
},
"hsl": {
"h": 103.03,
"s": 68.276,
"l": 28.431
},
"oklch": {
"l": 0.51423,
"c": 0.14805,
"h": 138.8
},
"luminance": 0.14685
}Semantic roles & 50–950 ramp
primary
#337A17
secondary
#8F3EAF
accent
#3DEBBA
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79