#337226#337226
#337226 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.127 H 140.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #337226 |
|---|---|
| RGB | rgb(51, 114, 38) |
| HSL | hsl(110, 50%, 30%) |
| HSV | hsv(110, 67%, 45%) |
| CMYK | cmyk(55.3%, 0%, 66.7%, 55.3%) |
| CIE-LAB | lab(42.58, -35.84, 35.01) |
| CIE-LCH | lch(42.58, 50.10, 135.68°) |
| OKLab | oklab(49.3% -0.0982 0.0812) |
| OKLCH | oklch(49.3% 0.127 140.4) |
| XYZ | xyz(7.7321, 12.8778, 3.9116) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.49
Tree Green
#2A7E19
ΔE00 4.93
Darkgreen
#006400
ΔE00 6.28
Green
#008000
ΔE00 6.75
Dark Grass Green
#388004
ΔE00 6.82
Darkolivegreen
#556B2F
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337226 #652672
analogous
#597226 #337226 #26723F
triadic
#337226 #263372 #722633
tetradic
#337226 #265972 #652672 #723F26
square
#337226 #265972 #652672 #723F26
split-complementary
#337226 #3F2672 #722659
monochromatic
#0A1708 #1E4417 #337226 #48A035 #62C44E
Accessibility & contrast
On white
5.87
#337226 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#337226 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337226
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337226 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337226 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75681D
Deuteranopia (green-blind)
#6D622C
Tritanopia (blue-blind)
#2C6E62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #337226; /* rgb */ color: rgb(51, 114, 38); /* oklch */ color: oklch(49.3% 0.127 140.4);
Tailwind
colors: {
custom: {
50: '#719b64',
500: '#337226',
950: '#000000',
},
}SCSS
$custom: #337226; $custom-light: #719b64; $custom-dark: #000000;
JSON
{
"hex": "#337226",
"rgb": {
"r": 51,
"g": 114,
"b": 38
},
"hsl": {
"h": 109.737,
"s": 50,
"l": 29.804
},
"oklch": {
"l": 0.493,
"c": 0.12739,
"h": 140.4
},
"luminance": 0.12878
}Semantic roles & 50–950 ramp
primary
#337226
secondary
#964FA5
accent
#4EDAC2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A