#337A1C#337A1C
#337A1C is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.145 H 139.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #337A1C |
|---|---|
| RGB | rgb(51, 122, 28) |
| HSL | hsl(105, 63%, 29%) |
| HSV | hsv(105, 77%, 48%) |
| CMYK | cmyk(58.2%, 0%, 77%, 52.2%) |
| CIE-LAB | lab(45.23, -40.02, 42.05) |
| CIE-LCH | lch(45.23, 58.05, 133.58°) |
| OKLab | oklab(51.46% -0.1101 0.0946) |
| OKLCH | oklch(51.46% 0.145 139.3) |
| XYZ | xyz(8.5340, 14.7060, 3.4872) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.69
Dark Grass Green
#388004
ΔE00 3.41
Green
#008000
ΔE00 3.83
Darkish Green
#287C37
ΔE00 4.91
Forestgreen (CSS)
#228B22
ΔE00 6.13
Avocado
#568203
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337A1C #631C7A
analogous
#627A1C #337A1C #1C7A34
triadic
#337A1C #1C337A #7A1C33
tetradic
#337A1C #1C627A #631C7A #7A341C
square
#337A1C #1C627A #631C7A #7A341C
split-complementary
#337A1C #341C7A #7A1C62
monochromatic
#0A1906 #1E4811 #337A1C #48AC27 #62D33E
Accessibility & contrast
On white
5.33
#337A1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#337A1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337A1C
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337A1C | 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)
#7E6F09
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#2B7668
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #337a1c; /* rgb */ color: rgb(51, 122, 28); /* oklch */ color: oklch(51.5% 0.145 139.3);
Tailwind
colors: {
custom: {
50: '#73a15f',
500: '#337a1c',
950: '#000000',
},
}SCSS
$custom: #337a1c; $custom-light: #73a15f; $custom-dark: #000000;
JSON
{
"hex": "#337a1c",
"rgb": {
"r": 51,
"g": 122,
"b": 28
},
"hsl": {
"h": 105.319,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.51458,
"c": 0.14522,
"h": 139.3
},
"luminance": 0.14707
}Semantic roles & 50–950 ramp
primary
#337A1C
secondary
#9444AE
accent
#42E6BE
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79