#337D1C#337D1C
#337D1C is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.149 H 139.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #337D1C |
|---|---|
| RGB | rgb(51, 125, 28) |
| HSL | hsl(106, 63%, 30%) |
| HSV | hsv(106, 78%, 49%) |
| CMYK | cmyk(59.2%, 0%, 77.6%, 51%) |
| CIE-LAB | lab(46.25, -41.20, 43.07) |
| CIE-LCH | lch(46.25, 59.60, 133.73°) |
| OKLab | oklab(52.3% -0.1133 0.0968) |
| OKLCH | oklch(52.3% 0.149 139.5) |
| XYZ | xyz(8.9081, 15.4541, 3.6119) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.96
Dark Grass Green
#388004
ΔE00 2.71
Green
#008000
ΔE00 3.29
Darkish Green
#287C37
ΔE00 5.06
Forestgreen (CSS)
#228B22
ΔE00 5.10
Emerald Green
#028F1E
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337D1C #661C7D
analogous
#647D1C #337D1C #1C7D35
triadic
#337D1C #1C337D #7D1C33
tetradic
#337D1C #1C647D #661C7D #7D351C
square
#337D1C #1C647D #661C7D #7D351C
split-complementary
#337D1C #351C7D #7D1C64
monochromatic
#0A1906 #1F4B11 #337D1C #47AF27 #63D43F
Accessibility & contrast
On white
5.13
#337D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#337D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337D1C
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337D1C | 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)
#817107
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#2B796A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #337d1c; /* rgb */ color: rgb(51, 125, 28); /* oklch */ color: oklch(52.3% 0.149 139.5);
Tailwind
colors: {
custom: {
50: '#74a360',
500: '#337d1c',
950: '#000000',
},
}SCSS
$custom: #337d1c; $custom-light: #74a360; $custom-dark: #000000;
JSON
{
"hex": "#337d1c",
"rgb": {
"r": 51,
"g": 125,
"b": 28
},
"hsl": {
"h": 105.773,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.52301,
"c": 0.149,
"h": 139.5
},
"luminance": 0.15455
}Semantic roles & 50–950 ramp
primary
#337D1C
secondary
#9744B1
accent
#41E6BF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79