#337C18#337C18
#337C18 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.150 H 139.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #337C18 |
|---|---|
| RGB | rgb(51, 124, 24) |
| HSL | hsl(104, 68%, 29%) |
| HSV | hsv(104, 81%, 49%) |
| CMYK | cmyk(58.9%, 0%, 80.6%, 51.4%) |
| CIE-LAB | lab(45.89, -41.09, 44.13) |
| CIE-LCH | lch(45.89, 60.30, 132.96°) |
| OKLab | oklab(51.99% -0.1132 0.0984) |
| OKLCH | oklch(51.99% 0.15 139) |
| XYZ | xyz(8.7374, 15.1843, 3.3344) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.20
Dark Grass Green
#388004
ΔE00 2.53
Green
#008000
ΔE00 3.30
Darkish Green
#287C37
ΔE00 5.45
Forestgreen (CSS)
#228B22
ΔE00 5.49
Avocado
#568203
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337C18 #61187C
analogous
#657C18 #337C18 #187C2F
triadic
#337C18 #18337C #7C1833
tetradic
#337C18 #18657C #61187C #7C2F18
square
#337C18 #18657C #61187C #7C2F18
split-complementary
#337C18 #2F187C #7C1865
monochromatic
#0B1A05 #1E490E #337C18 #48AF22 #62D836
Accessibility & contrast
On white
5.20
#337C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#337C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337C18
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337C18 | 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: #337c18; /* rgb */ color: rgb(51, 124, 24); /* oklch */ color: oklch(52.0% 0.150 139.0);
Tailwind
colors: {
custom: {
50: '#74a35e',
500: '#337c18',
950: '#000000',
},
}SCSS
$custom: #337c18; $custom-light: #74a35e; $custom-dark: #000000;
JSON
{
"hex": "#337c18",
"rgb": {
"r": 51,
"g": 124,
"b": 24
},
"hsl": {
"h": 103.8,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.51992,
"c": 0.15,
"h": 139
},
"luminance": 0.15185
}Semantic roles & 50–950 ramp
primary
#337C18
secondary
#923FB1
accent
#3DEABC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79