#337229#337229
#337229 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.125 H 141.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #337229 |
|---|---|
| RGB | rgb(51, 114, 41) |
| HSL | hsl(112, 47%, 30%) |
| HSV | hsv(112, 64%, 45%) |
| CMYK | cmyk(55.3%, 0%, 64%, 55.3%) |
| CIE-LAB | lab(42.61, -35.51, 33.60) |
| CIE-LCH | lch(42.61, 48.88, 136.58°) |
| OKLab | oklab(49.34% -0.0971 0.0785) |
| OKLCH | oklch(49.34% 0.125 141) |
| XYZ | xyz(7.7824, 12.8979, 4.1768) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.21
Tree Green
#2A7E19
ΔE00 5.22
Darkgreen
#006400
ΔE00 6.49
Green
#008000
ΔE00 7.06
Dark Grass Green
#388004
ΔE00 7.21
Darkolivegreen
#556B2F
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337229 #682972
analogous
#577229 #337229 #297243
triadic
#337229 #293372 #722933
tetradic
#337229 #295772 #682972 #724329
square
#337229 #295772 #682972 #724329
split-complementary
#337229 #432972 #722957
monochromatic
#0B1809 #1F4519 #337229 #479F39 #63C154
Accessibility & contrast
On white
5.87
#337229 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#337229 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337229
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337229 | 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)
#756821
Deuteranopia (green-blind)
#6D632F
Tritanopia (blue-blind)
#2C6E62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #337229; /* rgb */ color: rgb(51, 114, 41); /* oklch */ color: oklch(49.3% 0.125 141.0);
Tailwind
colors: {
custom: {
50: '#719b66',
500: '#337229',
950: '#000000',
},
}SCSS
$custom: #337229; $custom-light: #719b66; $custom-dark: #000000;
JSON
{
"hex": "#337229",
"rgb": {
"r": 51,
"g": 114,
"b": 41
},
"hsl": {
"h": 111.781,
"s": 47.097,
"l": 30.392
},
"oklch": {
"l": 0.49335,
"c": 0.12485,
"h": 141
},
"luminance": 0.12899
}Semantic roles & 50–950 ramp
primary
#337229
secondary
#9953A4
accent
#51D7C4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A