#337540#337540
#337540 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.5% C 0.107 H 148.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #337540 |
|---|---|
| RGB | rgb(51, 117, 64) |
| HSL | hsl(132, 39%, 33%) |
| HSV | hsv(132, 56%, 46%) |
| CMYK | cmyk(56.4%, 0%, 45.3%, 54.1%) |
| CIE-LAB | lab(43.94, -33.44, 23.01) |
| CIE-LCH | lch(43.94, 40.59, 145.47°) |
| OKLab | oklab(50.53% -0.0906 0.0566) |
| OKLCH | oklch(50.53% 0.107 148) |
| XYZ | xyz(8.6514, 13.7958, 7.0564) |
| Luminance | 0.1380 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.82
Jungle Green
#048243
ΔE00 5.46
Dark Sage
#598556
ΔE00 8.12
Sea Green
#2E8B57
ΔE00 8.19
Pine
#2B5D34
ΔE00 8.23
Tree Green
#2A7E19
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337540 #753368
analogous
#477533 #337540 #337561
triadic
#337540 #403375 #754033
tetradic
#337540 #334775 #753368 #756133
square
#337540 #334775 #753368 #756133
split-complementary
#337540 #613375 #753347
monochromatic
#0E2011 #204A29 #337540 #46A057 #66BC77
Accessibility & contrast
On white
5.59
#337540 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#337540 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337540
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337540 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766C3C
Deuteranopia (green-blind)
#6D6543
Tritanopia (blue-blind)
#257368
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #337540; /* rgb */ color: rgb(51, 117, 64); /* oklch */ color: oklch(50.5% 0.107 148.0);
Tailwind
colors: {
custom: {
50: '#719d75',
500: '#337540',
950: '#000000',
},
}SCSS
$custom: #337540; $custom-light: #719d75; $custom-dark: #000000;
JSON
{
"hex": "#337540",
"rgb": {
"r": 51,
"g": 117,
"b": 64
},
"hsl": {
"h": 131.818,
"s": 39.286,
"l": 32.941
},
"oklch": {
"l": 0.50528,
"c": 0.10684,
"h": 148
},
"luminance": 0.13797
}Semantic roles & 50–950 ramp
primary
#337540
secondary
#A45F97
accent
#59B8CF
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E08
muted
#7B7E7B