#337A1A#337A1A
#337A1A is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.146 H 139.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #337A1A |
|---|---|
| RGB | rgb(51, 122, 26) |
| HSL | hsl(104, 65%, 29%) |
| HSV | hsv(104, 79%, 48%) |
| CMYK | cmyk(58.2%, 0%, 78.7%, 52.2%) |
| CIE-LAB | lab(45.22, -40.17, 42.78) |
| CIE-LCH | lch(45.22, 58.68, 133.20°) |
| OKLab | oklab(51.44% -0.1107 0.0959) |
| OKLCH | oklch(51.44% 0.146 139.1) |
| XYZ | xyz(8.5109, 14.6967, 3.3653) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.67
Dark Grass Green
#388004
ΔE00 3.22
Green
#008000
ΔE00 3.75
Darkish Green
#287C37
ΔE00 5.15
Forestgreen (CSS)
#228B22
ΔE00 6.14
Avocado
#568203
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337A1A #611A7A
analogous
#637A1A #337A1A #1A7A31
triadic
#337A1A #1A337A #7A1A33
tetradic
#337A1A #1A637A #611A7A #7A311A
square
#337A1A #1A637A #611A7A #7A311A
split-complementary
#337A1A #311A7A #7A1A63
monochromatic
#0B1905 #1E480F #337A1A #48AC25 #62D539
Accessibility & contrast
On white
5.33
#337A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#337A1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337A1A
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337A1A | 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)
#7E6F05
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#2C7668
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #337a1a; /* rgb */ color: rgb(51, 122, 26); /* oklch */ color: oklch(51.4% 0.146 139.1);
Tailwind
colors: {
custom: {
50: '#73a15e',
500: '#337a1a',
950: '#000000',
},
}SCSS
$custom: #337a1a; $custom-light: #73a15e; $custom-dark: #000000;
JSON
{
"hex": "#337a1a",
"rgb": {
"r": 51,
"g": 122,
"b": 26
},
"hsl": {
"h": 104.375,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.51443,
"c": 0.1464,
"h": 139.1
},
"luminance": 0.14697
}Semantic roles & 50–950 ramp
primary
#337A1A
secondary
#9241AE
accent
#40E8BC
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79