#337A2B#337A2B
#337A2B is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.134 H 141.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #337A2B |
|---|---|
| RGB | rgb(51, 122, 43) |
| HSL | hsl(114, 48%, 32%) |
| HSV | hsv(114, 65%, 48%) |
| CMYK | cmyk(58.2%, 0%, 64.8%, 52.2%) |
| CIE-LAB | lab(45.35, -38.60, 35.73) |
| CIE-LCH | lch(45.35, 52.60, 137.21°) |
| OKLab | oklab(51.6% -0.1053 0.0833) |
| OKLCH | oklch(51.6% 0.134 141.7) |
| XYZ | xyz(8.7604, 14.7965, 4.6794) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.77
Tree Green
#2A7E19
ΔE00 3.04
Green
#008000
ΔE00 5.17
Dark Grass Green
#388004
ΔE00 5.35
Jungle Green
#048243
ΔE00 6.14
Forestgreen (CSS)
#228B22
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337A2B #722B7A
analogous
#5B7A2B #337A2B #2B7A4B
triadic
#337A2B #2B337A #7A2B33
tetradic
#337A2B #2B5B7A #722B7A #7A4B2B
square
#337A2B #2B5B7A #722B7A #7A4B2B
split-complementary
#337A2B #4B2B7A #7A2B5B
monochromatic
#0D1F0B #204D1B #337A2B #46A73B #65C55A
Accessibility & contrast
On white
5.30
#337A2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#337A2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337A2B
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337A2B | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6F22
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#297669
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #337a2b; /* rgb */ color: rgb(51, 122, 43); /* oklch */ color: oklch(51.6% 0.134 141.7);
Tailwind
colors: {
custom: {
50: '#72a168',
500: '#337a2b',
950: '#000000',
},
}SCSS
$custom: #337a2b; $custom-light: #72a168; $custom-dark: #000000;
JSON
{
"hex": "#337a2b",
"rgb": {
"r": 51,
"g": 122,
"b": 43
},
"hsl": {
"h": 113.924,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.51601,
"c": 0.13429,
"h": 141.7
},
"luminance": 0.14797
}Semantic roles & 50–950 ramp
primary
#337A2B
secondary
#A256AB
accent
#50D7CA
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A