#337F16#337F16
#337F16 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.155 H 139.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #337F16 |
|---|---|
| RGB | rgb(51, 127, 22) |
| HSL | hsl(103, 70%, 29%) |
| HSV | hsv(103, 83%, 50%) |
| CMYK | cmyk(59.8%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(46.90, -42.37, 45.73) |
| CIE-LCH | lch(46.90, 62.34, 132.81°) |
| OKLab | oklab(52.82% -0.1168 0.1014) |
| OKLCH | oklch(52.82% 0.155 139) |
| XYZ | xyz(9.0991, 15.9397, 3.3561) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.22
Dark Grass Green
#388004
ΔE00 1.78
Green
#008000
ΔE00 2.93
Forestgreen (CSS)
#228B22
ΔE00 4.56
Darkish Green
#287C37
ΔE00 5.92
Emerald Green
#028F1E
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337F16 #62167F
analogous
#687F16 #337F16 #167F2E
triadic
#337F16 #16337F #7F1633
tetradic
#337F16 #16687F #62167F #7F2E16
square
#337F16 #16687F #62167F #7F2E16
split-complementary
#337F16 #2E167F #7F1668
monochromatic
#0A1A05 #1E4B0D #337F16 #48B31F #62DC34
Accessibility & contrast
On white
5.01
#337F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#337F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337F16
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337F16 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#2B7A6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #337f16; /* rgb */ color: rgb(51, 127, 22); /* oklch */ color: oklch(52.8% 0.155 139.0);
Tailwind
colors: {
custom: {
50: '#75a55d',
500: '#337f16',
950: '#000000',
},
}SCSS
$custom: #337f16; $custom-light: #75a55d; $custom-dark: #000000;
JSON
{
"hex": "#337f16",
"rgb": {
"r": 51,
"g": 127,
"b": 22
},
"hsl": {
"h": 103.429,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.52823,
"c": 0.1547,
"h": 139
},
"luminance": 0.1594
}Semantic roles & 50–950 ramp
primary
#337F16
secondary
#933DB4
accent
#3BEDBC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79