#337C1A#337C1A
#337C1A is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.149 H 139.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #337C1A |
|---|---|
| RGB | rgb(51, 124, 26) |
| HSL | hsl(105, 65%, 29%) |
| HSV | hsv(105, 79%, 49%) |
| CMYK | cmyk(58.9%, 0%, 79%, 51.4%) |
| CIE-LAB | lab(45.90, -40.95, 43.44) |
| CIE-LCH | lch(45.90, 59.70, 133.31°) |
| OKLab | oklab(52.01% -0.1128 0.0972) |
| OKLCH | oklch(52.01% 0.149 139.2) |
| XYZ | xyz(8.7590, 15.1929, 3.4480) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.15
Dark Grass Green
#388004
ΔE00 2.72
Green
#008000
ΔE00 3.36
Darkish Green
#287C37
ΔE00 5.22
Forestgreen (CSS)
#228B22
ΔE00 5.47
Avocado
#568203
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337C1A #631A7C
analogous
#647C1A #337C1A #1A7C32
triadic
#337C1A #1A337C #7C1A33
tetradic
#337C1A #1A647C #631A7C #7C321A
square
#337C1A #1A647C #631A7C #7C321A
split-complementary
#337C1A #321A7C #7C1A64
monochromatic
#0A1905 #1E490F #337C1A #48AF25 #62D63B
Accessibility & contrast
On white
5.20
#337C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#337C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337C1A
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337C1A | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807003
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#2B7869
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #337c1a; /* rgb */ color: rgb(51, 124, 26); /* oklch */ color: oklch(52.0% 0.149 139.2);
Tailwind
colors: {
custom: {
50: '#74a35f',
500: '#337c1a',
950: '#000000',
},
}SCSS
$custom: #337c1a; $custom-light: #74a35f; $custom-dark: #000000;
JSON
{
"hex": "#337c1a",
"rgb": {
"r": 51,
"g": 124,
"b": 26
},
"hsl": {
"h": 104.694,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.52005,
"c": 0.1489,
"h": 139.2
},
"luminance": 0.15194
}Semantic roles & 50–950 ramp
primary
#337C1A
secondary
#9442B0
accent
#40E8BD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79