#337018#337018
#337018 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.135 H 138.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #337018 |
|---|---|
| RGB | rgb(51, 112, 24) |
| HSL | hsl(102, 65%, 27%) |
| HSV | hsv(102, 79%, 44%) |
| CMYK | cmyk(54.5%, 0%, 78.6%, 56.1%) |
| CIE-LAB | lab(41.78, -36.28, 40.14) |
| CIE-LCH | lch(41.78, 54.11, 132.10°) |
| OKLab | oklab(48.61% -0.1003 0.0901) |
| OKLCH | oklch(48.61% 0.135 138.1) |
| XYZ | xyz(7.3240, 12.3575, 2.8633) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.98
Darkgreen
#006400
ΔE00 5.45
Dark Grass Green
#388004
ΔE00 6.20
Darkish Green
#287C37
ΔE00 6.31
Green
#008000
ΔE00 6.50
Darkolivegreen
#556B2F
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337018 #551870
analogous
#5F7018 #337018 #187029
triadic
#337018 #183370 #701833
tetradic
#337018 #185F70 #551870 #702918
square
#337018 #185F70 #551870 #702918
split-complementary
#337018 #291870 #70185F
monochromatic
#0B1905 #1C3E0D #337018 #4AA223 #62D330
Accessibility & contrast
On white
6.05
#337018 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#337018 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337018
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337018 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746606
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#2E6C5F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #337018; /* rgb */ color: rgb(51, 112, 24); /* oklch */ color: oklch(48.6% 0.135 138.1);
Tailwind
colors: {
custom: {
50: '#729a5c',
500: '#337018',
950: '#000000',
},
}SCSS
$custom: #337018; $custom-light: #729a5c; $custom-dark: #000000;
JSON
{
"hex": "#337018",
"rgb": {
"r": 51,
"g": 112,
"b": 24
},
"hsl": {
"h": 101.591,
"s": 64.706,
"l": 26.667
},
"oklch": {
"l": 0.48605,
"c": 0.13479,
"h": 138.1
},
"luminance": 0.12358
}Semantic roles & 50–950 ramp
primary
#337018
secondary
#863EA5
accent
#40E8B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79