#337420#337420
#337420 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.135 H 139.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #337420 |
|---|---|
| RGB | rgb(51, 116, 32) |
| HSL | hsl(106, 57%, 29%) |
| HSV | hsv(106, 72%, 45%) |
| CMYK | cmyk(56%, 0%, 72.4%, 54.5%) |
| CIE-LAB | lab(43.21, -37.27, 38.38) |
| CIE-LCH | lch(43.21, 53.50, 134.16°) |
| OKLab | oklab(49.8% -0.1024 0.0875) |
| OKLCH | oklch(49.8% 0.135 139.5) |
| XYZ | xyz(7.8710, 13.2982, 3.5183) |
| Luminance | 0.1330 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.82
Darkish Green
#287C37
ΔE00 4.80
Dark Grass Green
#388004
ΔE00 5.54
Green
#008000
ΔE00 5.65
Darkgreen
#006400
ΔE00 6.48
Darkolivegreen
#556B2F
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337420 #612074
analogous
#5D7420 #337420 #207437
triadic
#337420 #203374 #742033
tetradic
#337420 #205D74 #612074 #743720
square
#337420 #205D74 #612074 #743720
split-complementary
#337420 #372074 #74205D
monochromatic
#0B1807 #1E4413 #337420 #48A42D #62CB43
Accessibility & contrast
On white
5.74
#337420 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#337420 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337420
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337420 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337420 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#2C7063
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #337420; /* rgb */ color: rgb(51, 116, 32); /* oklch */ color: oklch(49.8% 0.135 139.5);
Tailwind
colors: {
custom: {
50: '#729d61',
500: '#337420',
950: '#000000',
},
}SCSS
$custom: #337420; $custom-light: #729d61; $custom-dark: #000000;
JSON
{
"hex": "#337420",
"rgb": {
"r": 51,
"g": 116,
"b": 32
},
"hsl": {
"h": 106.429,
"s": 56.757,
"l": 29.02
},
"oklch": {
"l": 0.49802,
"c": 0.13476,
"h": 139.5
},
"luminance": 0.13299
}Semantic roles & 50–950 ramp
primary
#337420
secondary
#9248A8
accent
#48E0BE
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79