#337819#337819
#337819 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.144 H 138.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #337819 |
|---|---|
| RGB | rgb(51, 120, 25) |
| HSL | hsl(104, 66%, 28%) |
| HSV | hsv(104, 79%, 47%) |
| CMYK | cmyk(57.5%, 0%, 79.2%, 52.9%) |
| CIE-LAB | lab(44.53, -39.45, 42.47) |
| CIE-LCH | lch(44.53, 57.96, 132.89°) |
| OKLab | oklab(50.87% -0.1088 0.0951) |
| OKLCH | oklch(50.87% 0.144 138.9) |
| XYZ | xyz(8.2569, 14.2063, 3.2265) |
| Luminance | 0.1421 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.29
Dark Grass Green
#388004
ΔE00 3.71
Green
#008000
ΔE00 4.19
Darkish Green
#287C37
ΔE00 5.29
Forestgreen (CSS)
#228B22
ΔE00 6.83
Avocado
#568203
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337819 #5E1978
analogous
#627819 #337819 #19782E
triadic
#337819 #193378 #781933
tetradic
#337819 #196278 #5E1978 #782E19
square
#337819 #196278 #5E1978 #782E19
split-complementary
#337819 #2E1978 #781962
monochromatic
#0B1905 #1D450E #337819 #49AB24 #62D536
Accessibility & contrast
On white
5.47
#337819 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#337819 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337819
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337819 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337819 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#2C7466
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #337819; /* rgb */ color: rgb(51, 120, 25); /* oklch */ color: oklch(50.9% 0.144 138.9);
Tailwind
colors: {
custom: {
50: '#73a05d',
500: '#337819',
950: '#000000',
},
}SCSS
$custom: #337819; $custom-light: #73a05d; $custom-dark: #000000;
JSON
{
"hex": "#337819",
"rgb": {
"r": 51,
"g": 120,
"b": 25
},
"hsl": {
"h": 103.579,
"s": 65.517,
"l": 28.431
},
"oklch": {
"l": 0.50873,
"c": 0.14446,
"h": 138.9
},
"luminance": 0.14207
}Semantic roles & 50–950 ramp
primary
#337819
secondary
#8F40AD
accent
#3FE8BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79