#337F2C#337F2C
#337F2C is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.140 H 141.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #337F2C |
|---|---|
| RGB | rgb(51, 127, 44) |
| HSL | hsl(115, 49%, 34%) |
| HSV | hsv(115, 65%, 50%) |
| CMYK | cmyk(59.8%, 0%, 65.4%, 50.2%) |
| CIE-LAB | lab(47.06, -40.50, 37.16) |
| CIE-LCH | lch(47.06, 54.97, 137.46°) |
| OKLab | oklab(53.01% -0.1104 0.0865) |
| OKLCH | oklch(53.01% 0.14 141.9) |
| XYZ | xyz(9.4088, 16.0636, 4.9871) |
| Luminance | 0.1606 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.44
Darkish Green
#287C37
ΔE00 3.13
Green
#008000
ΔE00 4.51
Dark Grass Green
#388004
ΔE00 4.66
Forestgreen (CSS)
#228B22
ΔE00 4.76
Jungle Green
#048243
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337F2C #782C7F
analogous
#5C7F2C #337F2C #2C7F4E
triadic
#337F2C #2C337F #7F2C33
tetradic
#337F2C #2C5C7F #782C7F #7F4E2C
square
#337F2C #2C5C7F #782C7F #7F4E2C
split-complementary
#337F2C #4E2C7F #7F2C5C
monochromatic
#0E240D #21521C #337F2C #45AC3C #67C75E
Accessibility & contrast
On white
4.98
#337F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#337F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337F2C
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337F2C | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827422
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#287B6E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #337f2c; /* rgb */ color: rgb(51, 127, 44); /* oklch */ color: oklch(53.0% 0.140 141.9);
Tailwind
colors: {
custom: {
50: '#73a569',
500: '#337f2c',
950: '#000000',
},
}SCSS
$custom: #337f2c; $custom-light: #73a569; $custom-dark: #000000;
JSON
{
"hex": "#337f2c",
"rgb": {
"r": 51,
"g": 127,
"b": 44
},
"hsl": {
"h": 114.94,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.53009,
"c": 0.14024,
"h": 141.9
},
"luminance": 0.16064
}Semantic roles & 50–950 ramp
primary
#337F2C
secondary
#A659AD
accent
#50D8CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A