#337219#337219
#337219 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.2% C 0.137 H 138.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #337219 |
|---|---|
| RGB | rgb(51, 114, 25) |
| HSL | hsl(102, 64%, 27%) |
| HSV | hsv(102, 78%, 45%) |
| CMYK | cmyk(55.3%, 0%, 78.1%, 55.3%) |
| CIE-LAB | lab(42.47, -37.03, 40.45) |
| CIE-LCH | lch(42.47, 54.84, 132.47°) |
| OKLab | oklab(49.18% -0.1023 0.0908) |
| OKLCH | oklch(49.18% 0.137 138.4) |
| XYZ | xyz(7.5577, 12.8080, 2.9935) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.30
Dark Grass Green
#388004
ΔE00 5.61
Darkish Green
#287C37
ΔE00 5.87
Green
#008000
ΔE00 5.90
Darkgreen
#006400
ΔE00 5.91
Darkolivegreen
#556B2F
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337219 #581972
analogous
#607219 #337219 #19722C
triadic
#337219 #193372 #721933
tetradic
#337219 #196072 #581972 #722C19
square
#337219 #196072 #581972 #722C19
split-complementary
#337219 #2C1972 #721960
monochromatic
#0B1906 #1D400E #337219 #49A424 #62D233
Accessibility & contrast
On white
5.90
#337219 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#337219 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337219
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337219 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337219 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766807
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#2E6E61
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #337219; /* rgb */ color: rgb(51, 114, 25); /* oklch */ color: oklch(49.2% 0.137 138.4);
Tailwind
colors: {
custom: {
50: '#729b5d',
500: '#337219',
950: '#000000',
},
}SCSS
$custom: #337219; $custom-light: #729b5d; $custom-dark: #000000;
JSON
{
"hex": "#337219",
"rgb": {
"r": 51,
"g": 114,
"b": 25
},
"hsl": {
"h": 102.472,
"s": 64.029,
"l": 27.255
},
"oklch": {
"l": 0.49179,
"c": 0.13678,
"h": 138.4
},
"luminance": 0.12809
}Semantic roles & 50–950 ramp
primary
#337219
secondary
#8940A7
accent
#41E7B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79