#337A1B#337A1B
#337A1B is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.146 H 139.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #337A1B |
|---|---|
| RGB | rgb(51, 122, 27) |
| HSL | hsl(105, 64%, 29%) |
| HSV | hsv(105, 78%, 48%) |
| CMYK | cmyk(58.2%, 0%, 77.9%, 52.2%) |
| CIE-LAB | lab(45.22, -40.10, 42.42) |
| CIE-LCH | lch(45.22, 58.37, 133.39°) |
| OKLab | oklab(51.45% -0.1104 0.0953) |
| OKLCH | oklch(51.45% 0.146 139.2) |
| XYZ | xyz(8.5223, 14.7013, 3.4252) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.67
Dark Grass Green
#388004
ΔE00 3.31
Green
#008000
ΔE00 3.79
Darkish Green
#287C37
ΔE00 5.03
Forestgreen (CSS)
#228B22
ΔE00 6.13
Avocado
#568203
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337A1B #621B7A
analogous
#637A1B #337A1B #1B7A33
triadic
#337A1B #1B337A #7A1B33
tetradic
#337A1B #1B637A #621B7A #7A331B
square
#337A1B #1B637A #621B7A #7A331B
split-complementary
#337A1B #331B7A #7A1B63
monochromatic
#0A1906 #1E4810 #337A1B #48AC26 #62D43C
Accessibility & contrast
On white
5.33
#337A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#337A1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337A1B
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337A1B | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F07
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#2B7668
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #337a1b; /* rgb */ color: rgb(51, 122, 27); /* oklch */ color: oklch(51.4% 0.146 139.2);
Tailwind
colors: {
custom: {
50: '#73a15f',
500: '#337a1b',
950: '#000000',
},
}SCSS
$custom: #337a1b; $custom-light: #73a15f; $custom-dark: #000000;
JSON
{
"hex": "#337a1b",
"rgb": {
"r": 51,
"g": 122,
"b": 27
},
"hsl": {
"h": 104.842,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.5145,
"c": 0.14582,
"h": 139.2
},
"luminance": 0.14702
}Semantic roles & 50–950 ramp
primary
#337A1B
secondary
#9343AE
accent
#41E7BD
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79