#337B1A#337B1A
#337B1A is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.148 H 139.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #337B1A |
|---|---|
| RGB | rgb(51, 123, 26) |
| HSL | hsl(105, 65%, 29%) |
| HSV | hsv(105, 79%, 48%) |
| CMYK | cmyk(58.5%, 0%, 78.9%, 51.8%) |
| CIE-LAB | lab(45.56, -40.56, 43.11) |
| CIE-LCH | lch(45.56, 59.20, 133.26°) |
| OKLab | oklab(51.72% -0.1117 0.0966) |
| OKLCH | oklch(51.72% 0.148 139.2) |
| XYZ | xyz(8.6343, 14.9436, 3.4065) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.39
Dark Grass Green
#388004
ΔE00 2.96
Green
#008000
ΔE00 3.54
Darkish Green
#287C37
ΔE00 5.17
Forestgreen (CSS)
#228B22
ΔE00 5.80
Avocado
#568203
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337B1A #621A7B
analogous
#647B1A #337B1A #1A7B32
triadic
#337B1A #1A337B #7B1A33
tetradic
#337B1A #1A647B #621A7B #7B321A
square
#337B1A #1A647B #621A7B #7B321A
split-complementary
#337B1A #321A7B #7B1A64
monochromatic
#0A1905 #1E480F #337B1A #48AE25 #62D53A
Accessibility & contrast
On white
5.26
#337B1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#337B1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337B1A
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337B1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337B1A | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#2B7769
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #337b1a; /* rgb */ color: rgb(51, 123, 26); /* oklch */ color: oklch(51.7% 0.148 139.2);
Tailwind
colors: {
custom: {
50: '#74a25e',
500: '#337b1a',
950: '#000000',
},
}SCSS
$custom: #337b1a; $custom-light: #74a25e; $custom-dark: #000000;
JSON
{
"hex": "#337b1a",
"rgb": {
"r": 51,
"g": 123,
"b": 26
},
"hsl": {
"h": 104.536,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.51724,
"c": 0.14766,
"h": 139.2
},
"luminance": 0.14944
}Semantic roles & 50–950 ramp
primary
#337B1A
secondary
#9342AF
accent
#40E8BD
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79