#337B1F#337B1F
#337B1F is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.145 H 139.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #337B1F |
|---|---|
| RGB | rgb(51, 123, 31) |
| HSL | hsl(107, 60%, 30%) |
| HSV | hsv(107, 75%, 48%) |
| CMYK | cmyk(58.5%, 0%, 74.8%, 51.8%) |
| CIE-LAB | lab(45.59, -40.18, 41.25) |
| CIE-LCH | lch(45.59, 57.59, 134.25°) |
| OKLab | oklab(51.76% -0.1104 0.0934) |
| OKLCH | oklch(51.76% 0.145 139.8) |
| XYZ | xyz(8.6951, 14.9679, 3.7269) |
| Luminance | 0.1497 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.50
Dark Grass Green
#388004
ΔE00 3.48
Green
#008000
ΔE00 3.80
Darkish Green
#287C37
ΔE00 4.55
Forestgreen (CSS)
#228B22
ΔE00 5.78
Emerald Green
#028F1E
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337B1F #671F7B
analogous
#617B1F #337B1F #1F7B39
triadic
#337B1F #1F337B #7B1F33
tetradic
#337B1F #1F617B #671F7B #7B391F
square
#337B1F #1F617B #671F7B #7B391F
split-complementary
#337B1F #391F7B #7B1F61
monochromatic
#0A1906 #1F4A13 #337B1F #47AC2B #63D044
Accessibility & contrast
On white
5.26
#337B1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#337B1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337B1F
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337B1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337B1F | 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)
#7F700F
Deuteranopia (green-blind)
#756A28
Tritanopia (blue-blind)
#2B7769
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #337b1f; /* rgb */ color: rgb(51, 123, 31); /* oklch */ color: oklch(51.8% 0.145 139.8);
Tailwind
colors: {
custom: {
50: '#73a261',
500: '#337b1f',
950: '#000000',
},
}SCSS
$custom: #337b1f; $custom-light: #73a261; $custom-dark: #000000;
JSON
{
"hex": "#337b1f",
"rgb": {
"r": 51,
"g": 123,
"b": 31
},
"hsl": {
"h": 106.957,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.51763,
"c": 0.14459,
"h": 139.8
},
"luminance": 0.14969
}Semantic roles & 50–950 ramp
primary
#337B1F
secondary
#9848AE
accent
#45E3C1
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79