#337718#337718
#337718 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.144 H 138.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #337718 |
|---|---|
| RGB | rgb(51, 119, 24) |
| HSL | hsl(103, 66%, 28%) |
| HSV | hsv(103, 80%, 47%) |
| CMYK | cmyk(57.1%, 0%, 79.8%, 53.3%) |
| CIE-LAB | lab(44.18, -39.12, 42.49) |
| CIE-LCH | lch(44.18, 57.75, 132.64°) |
| OKLab | oklab(50.58% -0.108 0.0949) |
| OKLCH | oklch(50.58% 0.144 138.7) |
| XYZ | xyz(8.1266, 13.9627, 3.1308) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.62
Dark Grass Green
#388004
ΔE00 3.94
Green
#008000
ΔE00 4.41
Darkish Green
#287C37
ΔE00 5.45
Forestgreen (CSS)
#228B22
ΔE00 7.18
Darkgreen
#006400
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337718 #5C1877
analogous
#637718 #337718 #18772C
triadic
#337718 #183377 #771833
tetradic
#337718 #186377 #5C1877 #772C18
square
#337718 #186377 #5C1877 #772C18
split-complementary
#337718 #2C1877 #771863
monochromatic
#0B1905 #1D440E #337718 #49AA22 #62D633
Accessibility & contrast
On white
5.54
#337718 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#337718 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337718
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337718 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#2D7365
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #337718; /* rgb */ color: rgb(51, 119, 24); /* oklch */ color: oklch(50.6% 0.144 138.7);
Tailwind
colors: {
custom: {
50: '#739f5d',
500: '#337718',
950: '#000000',
},
}SCSS
$custom: #337718; $custom-light: #739f5d; $custom-dark: #000000;
JSON
{
"hex": "#337718",
"rgb": {
"r": 51,
"g": 119,
"b": 24
},
"hsl": {
"h": 102.947,
"s": 66.434,
"l": 28.039
},
"oklch": {
"l": 0.50584,
"c": 0.14377,
"h": 138.7
},
"luminance": 0.13963
}Semantic roles & 50–950 ramp
primary
#337718
secondary
#8D3FAC
accent
#3EE9B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79