#337C2F#337C2F
#337C2F is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.2% C 0.134 H 142.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #337C2F |
|---|---|
| RGB | rgb(51, 124, 47) |
| HSL | hsl(117, 45%, 34%) |
| HSV | hsv(117, 62%, 49%) |
| CMYK | cmyk(58.9%, 0%, 62.1%, 51.4%) |
| CIE-LAB | lab(46.07, -38.95, 34.61) |
| CIE-LCH | lch(46.07, 52.10, 138.37°) |
| OKLab | oklab(52.21% -0.106 0.0813) |
| OKLCH | oklch(52.21% 0.134 142.5) |
| XYZ | xyz(9.0855, 15.3236, 5.1677) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.22
Tree Green
#2A7E19
ΔE00 3.26
Green
#008000
ΔE00 5.33
Jungle Green
#048243
ΔE00 5.45
Dark Grass Green
#388004
ΔE00 5.61
Forestgreen (CSS)
#228B22
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337C2F #782F7C
analogous
#597C2F #337C2F #2F7C51
triadic
#337C2F #2F337C #7C2F33
tetradic
#337C2F #2F597C #782F7C #7C512F
square
#337C2F #2F597C #782F7C #7C512F
split-complementary
#337C2F #512F7C #7C2F59
monochromatic
#0E230D #21501E #337C2F #45A840 #67C362
Accessibility & contrast
On white
5.17
#337C2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#337C2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337C2F
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337C2F | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#756B35
Tritanopia (blue-blind)
#28786B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #337c2f; /* rgb */ color: rgb(51, 124, 47); /* oklch */ color: oklch(52.2% 0.134 142.5);
Tailwind
colors: {
custom: {
50: '#73a36a',
500: '#337c2f',
950: '#000000',
},
}SCSS
$custom: #337c2f; $custom-light: #73a36a; $custom-dark: #000000;
JSON
{
"hex": "#337c2f",
"rgb": {
"r": 51,
"g": 124,
"b": 47
},
"hsl": {
"h": 116.883,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.52208,
"c": 0.13363,
"h": 142.5
},
"luminance": 0.15324
}Semantic roles & 50–950 ramp
primary
#337C2F
secondary
#A65CAA
accent
#53D5CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A