#337B16#337B16
#337B16 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.150 H 138.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #337B16 |
|---|---|
| RGB | rgb(51, 123, 22) |
| HSL | hsl(103, 70%, 28%) |
| HSV | hsv(103, 82%, 48%) |
| CMYK | cmyk(58.5%, 0%, 82.1%, 51.8%) |
| CIE-LAB | lab(45.53, -40.83, 44.45) |
| CIE-LCH | lch(45.53, 60.36, 132.56°) |
| OKLab | oklab(51.7% -0.1127 0.0987) |
| OKLCH | oklch(51.7% 0.15 138.8) |
| XYZ | xyz(8.5927, 14.9269, 3.1873) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.49
Dark Grass Green
#388004
ΔE00 2.62
Green
#008000
ΔE00 3.43
Darkish Green
#287C37
ΔE00 5.62
Forestgreen (CSS)
#228B22
ΔE00 5.86
Avocado
#568203
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337B16 #5E167B
analogous
#657B16 #337B16 #167B2B
triadic
#337B16 #16337B #7B1633
tetradic
#337B16 #16657B #5E167B #7B2B16
square
#337B16 #16657B #5E167B #7B2B16
split-complementary
#337B16 #2B167B #7B1665
monochromatic
#0B1A05 #1D470D #337B16 #49AF1F #62DA31
Accessibility & contrast
On white
5.27
#337B16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#337B16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337B16
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337B16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337B16 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#2C7768
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #337b16; /* rgb */ color: rgb(51, 123, 22); /* oklch */ color: oklch(51.7% 0.150 138.8);
Tailwind
colors: {
custom: {
50: '#74a25d',
500: '#337b16',
950: '#000000',
},
}SCSS
$custom: #337b16; $custom-light: #74a25d; $custom-dark: #000000;
JSON
{
"hex": "#337b16",
"rgb": {
"r": 51,
"g": 123,
"b": 22
},
"hsl": {
"h": 102.772,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.51698,
"c": 0.14981,
"h": 138.8
},
"luminance": 0.14928
}Semantic roles & 50–950 ramp
primary
#337B16
secondary
#8F3DB0
accent
#3BECBA
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79