#337A19#337A19
#337A19 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.147 H 139.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #337A19 |
|---|---|
| RGB | rgb(51, 122, 25) |
| HSL | hsl(104, 66%, 29%) |
| HSV | hsv(104, 80%, 48%) |
| CMYK | cmyk(58.2%, 0%, 79.5%, 52.2%) |
| CIE-LAB | lab(45.21, -40.24, 43.13) |
| CIE-LCH | lch(45.21, 58.99, 133.01°) |
| OKLab | oklab(51.44% -0.1109 0.0964) |
| OKLCH | oklch(51.44% 0.147 139) |
| XYZ | xyz(8.4999, 14.6923, 3.3075) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.67
Dark Grass Green
#388004
ΔE00 3.13
Green
#008000
ΔE00 3.71
Darkish Green
#287C37
ΔE00 5.27
Forestgreen (CSS)
#228B22
ΔE00 6.15
Avocado
#568203
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337A19 #60197A
analogous
#647A19 #337A19 #197A30
triadic
#337A19 #19337A #7A1933
tetradic
#337A19 #19647A #60197A #7A3019
square
#337A19 #19647A #60197A #7A3019
split-complementary
#337A19 #30197A #7A1964
monochromatic
#0B1905 #1E470F #337A19 #48AD23 #62D637
Accessibility & contrast
On white
5.33
#337A19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#337A19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337A19
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337A19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337A19 | 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)
#7E6F02
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#2C7668
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #337a19; /* rgb */ color: rgb(51, 122, 25); /* oklch */ color: oklch(51.4% 0.147 139.0);
Tailwind
colors: {
custom: {
50: '#73a15e',
500: '#337a19',
950: '#000000',
},
}SCSS
$custom: #337a19; $custom-light: #73a15e; $custom-dark: #000000;
JSON
{
"hex": "#337a19",
"rgb": {
"r": 51,
"g": 122,
"b": 25
},
"hsl": {
"h": 103.918,
"s": 65.986,
"l": 28.824
},
"oklch": {
"l": 0.51436,
"c": 0.14698,
"h": 139
},
"luminance": 0.14693
}Semantic roles & 50–950 ramp
primary
#337A19
secondary
#9140AF
accent
#3FE9BB
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79