#337F11#337F11
#337F11 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.157 H 138.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #337F11 |
|---|---|
| RGB | rgb(51, 127, 17) |
| HSL | hsl(101, 76%, 28%) |
| HSV | hsv(101, 87%, 50%) |
| CMYK | cmyk(59.8%, 0%, 86.6%, 50.2%) |
| CIE-LAB | lab(46.87, -42.64, 47.16) |
| CIE-LCH | lch(46.87, 63.58, 132.12°) |
| OKLab | oklab(52.8% -0.1178 0.1037) |
| OKLCH | oklch(52.8% 0.157 138.6) |
| XYZ | xyz(9.0554, 15.9222, 3.1263) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.35
Tree Green
#2A7E19
ΔE00 1.56
Green
#008000
ΔE00 2.90
Forestgreen (CSS)
#228B22
ΔE00 4.71
Avocado
#568203
ΔE00 6.01
Emerald Green
#028F1E
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337F11 #5D117F
analogous
#6A7F11 #337F11 #117F26
triadic
#337F11 #11337F #7F1133
tetradic
#337F11 #116A7F #5D117F #7F2611
square
#337F11 #116A7F #5D117F #7F2611
split-complementary
#337F11 #26117F #7F116A
monochromatic
#0B1B04 #1D490A #337F11 #49B518 #62E228
Accessibility & contrast
On white
5.02
#337F11 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#337F11 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337F11
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337F11 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337F11 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#2B7A6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #337f11; /* rgb */ color: rgb(51, 127, 17); /* oklch */ color: oklch(52.8% 0.157 138.6);
Tailwind
colors: {
custom: {
50: '#75a55b',
500: '#337f11',
950: '#000000',
},
}SCSS
$custom: #337f11; $custom-light: #75a55b; $custom-dark: #000000;
JSON
{
"hex": "#337f11",
"rgb": {
"r": 51,
"g": 127,
"b": 17
},
"hsl": {
"h": 101.455,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.52796,
"c": 0.1569,
"h": 138.6
},
"luminance": 0.15923
}Semantic roles & 50–950 ramp
primary
#337F11
secondary
#8E37B5
accent
#35F3B8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79