#337939#337939
#337939 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.120 H 145.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #337939 |
|---|---|
| RGB | rgb(51, 121, 57) |
| HSL | hsl(125, 41%, 34%) |
| HSV | hsv(125, 58%, 47%) |
| CMYK | cmyk(57.9%, 0%, 52.9%, 52.5%) |
| CIE-LAB | lab(45.18, -36.33, 28.42) |
| CIE-LCH | lch(45.18, 46.12, 141.97°) |
| OKLab | oklab(51.52% -0.0985 0.0685) |
| OKLCH | oklch(51.52% 0.12 145.2) |
| XYZ | xyz(8.9406, 14.6732, 6.2312) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.63
Jungle Green
#048243
ΔE00 4.63
Tree Green
#2A7E19
ΔE00 5.73
Green
#008000
ΔE00 7.61
Sea Green
#2E8B57
ΔE00 7.80
Dark Sage
#598556
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337939 #793373
analogous
#507933 #337939 #33795C
triadic
#337939 #393379 #793933
tetradic
#337939 #335079 #793373 #795C33
square
#337939 #335079 #793373 #795C33
split-complementary
#337939 #5C3379 #793350
monochromatic
#0F2310 #214E25 #337939 #45A44D #67BF6F
Accessibility & contrast
On white
5.34
#337939 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#337939 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337939
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337939 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337939 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6F33
Deuteranopia (green-blind)
#72683E
Tritanopia (blue-blind)
#26766A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #337939; /* rgb */ color: rgb(51, 121, 57); /* oklch */ color: oklch(51.5% 0.120 145.2);
Tailwind
colors: {
custom: {
50: '#72a071',
500: '#337939',
950: '#000000',
},
}SCSS
$custom: #337939; $custom-light: #72a071; $custom-dark: #000000;
JSON
{
"hex": "#337939",
"rgb": {
"r": 51,
"g": 121,
"b": 57
},
"hsl": {
"h": 125.143,
"s": 40.698,
"l": 33.725
},
"oklch": {
"l": 0.51515,
"c": 0.12,
"h": 145.2
},
"luminance": 0.14674
}Semantic roles & 50–950 ramp
primary
#337939
secondary
#A761A1
accent
#57C6D1
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F08
muted
#7B7E7B