#337D1B#337D1B
#337D1B is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.150 H 139.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #337D1B |
|---|---|
| RGB | rgb(51, 125, 27) |
| HSL | hsl(105, 64%, 30%) |
| HSV | hsv(105, 78%, 49%) |
| CMYK | cmyk(59.2%, 0%, 78.4%, 51%) |
| CIE-LAB | lab(46.24, -41.27, 43.42) |
| CIE-LCH | lch(46.24, 59.91, 133.55°) |
| OKLab | oklab(52.29% -0.1136 0.0974) |
| OKLCH | oklch(52.29% 0.15 139.4) |
| XYZ | xyz(8.8963, 15.4494, 3.5499) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.96
Dark Grass Green
#388004
ΔE00 2.61
Green
#008000
ΔE00 3.25
Forestgreen (CSS)
#228B22
ΔE00 5.12
Darkish Green
#287C37
ΔE00 5.17
Emerald Green
#028F1E
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337D1B #651B7D
analogous
#647D1B #337D1B #1B7D34
triadic
#337D1B #1B337D #7D1B33
tetradic
#337D1B #1B647D #651B7D #7D341B
square
#337D1B #1B647D #651B7D #7D341B
split-complementary
#337D1B #341B7D #7D1B64
monochromatic
#0A1905 #1E4B10 #337D1B #48AF26 #62D53D
Accessibility & contrast
On white
5.13
#337D1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#337D1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337D1B
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337D1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337D1B | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817105
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#2B796A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #337d1b; /* rgb */ color: rgb(51, 125, 27); /* oklch */ color: oklch(52.3% 0.150 139.4);
Tailwind
colors: {
custom: {
50: '#74a35f',
500: '#337d1b',
950: '#000000',
},
}SCSS
$custom: #337d1b; $custom-light: #74a35f; $custom-dark: #000000;
JSON
{
"hex": "#337d1b",
"rgb": {
"r": 51,
"g": 125,
"b": 27
},
"hsl": {
"h": 105.306,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.52293,
"c": 0.14958,
"h": 139.4
},
"luminance": 0.1545
}Semantic roles & 50–950 ramp
primary
#337D1B
secondary
#9643B1
accent
#40E7BF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79