#337C17#337C17
#337C17 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.151 H 138.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #337C17 |
|---|---|
| RGB | rgb(51, 124, 23) |
| HSL | hsl(103, 69%, 29%) |
| HSV | hsv(103, 81%, 49%) |
| CMYK | cmyk(58.9%, 0%, 81.5%, 51.4%) |
| CIE-LAB | lab(45.88, -41.15, 44.46) |
| CIE-LCH | lch(45.88, 60.58, 132.79°) |
| OKLab | oklab(51.99% -0.1135 0.0989) |
| OKLCH | oklch(51.99% 0.151 138.9) |
| XYZ | xyz(8.7272, 15.1802, 3.2806) |
| Luminance | 0.1518 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.24
Dark Grass Green
#388004
ΔE00 2.44
Green
#008000
ΔE00 3.27
Forestgreen (CSS)
#228B22
ΔE00 5.51
Darkish Green
#287C37
ΔE00 5.56
Avocado
#568203
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337C17 #60177C
analogous
#667C17 #337C17 #177C2E
triadic
#337C17 #17337C #7C1733
tetradic
#337C17 #17667C #60177C #7C2E17
square
#337C17 #17667C #60177C #7C2E17
split-complementary
#337C17 #2E177C #7C1766
monochromatic
#0B1A05 #1E480D #337C17 #48B021 #62D934
Accessibility & contrast
On white
5.20
#337C17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#337C17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337C17
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337C17 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#2B7869
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #337c17; /* rgb */ color: rgb(51, 124, 23); /* oklch */ color: oklch(52.0% 0.151 138.9);
Tailwind
colors: {
custom: {
50: '#74a35d',
500: '#337c17',
950: '#000000',
},
}SCSS
$custom: #337c17; $custom-light: #74a35d; $custom-dark: #000000;
JSON
{
"hex": "#337c17",
"rgb": {
"r": 51,
"g": 124,
"b": 23
},
"hsl": {
"h": 103.366,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.51986,
"c": 0.15053,
"h": 138.9
},
"luminance": 0.15181
}Semantic roles & 50–950 ramp
primary
#337C17
secondary
#913EB1
accent
#3CECBB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79