#337F1C#337F1C
#337F1C is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.151 H 139.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #337F1C |
|---|---|
| RGB | rgb(51, 127, 28) |
| HSL | hsl(106, 64%, 30%) |
| HSV | hsv(106, 78%, 50%) |
| CMYK | cmyk(59.8%, 0%, 78%, 50.2%) |
| CIE-LAB | lab(46.93, -41.98, 43.74) |
| CIE-LCH | lch(46.93, 60.62, 133.82°) |
| OKLab | oklab(52.86% -0.1154 0.0982) |
| OKLCH | oklch(52.86% 0.151 139.6) |
| XYZ | xyz(9.1638, 15.9656, 3.6971) |
| Luminance | 0.1597 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.96
Dark Grass Green
#388004
ΔE00 2.41
Green
#008000
ΔE00 3.10
Forestgreen (CSS)
#228B22
ΔE00 4.43
Darkish Green
#287C37
ΔE00 5.27
Emerald Green
#028F1E
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337F1C #681C7F
analogous
#647F1C #337F1C #1C7F37
triadic
#337F1C #1C337F #7F1C33
tetradic
#337F1C #1C647F #681C7F #7F371C
square
#337F1C #1C647F #681C7F #7F371C
split-complementary
#337F1C #371C7F #7F1C64
monochromatic
#0B1B06 #1F4D11 #337F1C #47B127 #63D540
Accessibility & contrast
On white
5.01
#337F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#337F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337F1C
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337F1C | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837306
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#2A7B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #337f1c; /* rgb */ color: rgb(51, 127, 28); /* oklch */ color: oklch(52.9% 0.151 139.6);
Tailwind
colors: {
custom: {
50: '#74a560',
500: '#337f1c',
950: '#000000',
},
}SCSS
$custom: #337f1c; $custom-light: #74a560; $custom-dark: #000000;
JSON
{
"hex": "#337f1c",
"rgb": {
"r": 51,
"g": 127,
"b": 28
},
"hsl": {
"h": 106.061,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.52862,
"c": 0.15149,
"h": 139.6
},
"luminance": 0.15966
}Semantic roles & 50–950 ramp
primary
#337F1C
secondary
#9944B3
accent
#41E7C0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79