#337526#337526
#337526 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.132 H 140.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #337526 |
|---|---|
| RGB | rgb(51, 117, 38) |
| HSL | hsl(110, 51%, 30%) |
| HSV | hsv(110, 68%, 46%) |
| CMYK | cmyk(56.4%, 0%, 67.5%, 54.1%) |
| CIE-LAB | lab(43.60, -37.10, 36.13) |
| CIE-LCH | lch(43.60, 51.79, 135.75°) |
| OKLab | oklab(50.14% -0.1016 0.0836) |
| OKLCH | oklch(50.14% 0.132 140.5) |
| XYZ | xyz(8.0760, 13.5657, 4.0262) |
| Luminance | 0.1357 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.92
Darkish Green
#287C37
ΔE00 3.92
Green
#008000
ΔE00 5.86
Dark Grass Green
#388004
ΔE00 5.93
Darkgreen
#006400
ΔE00 6.93
Jungle Green
#048243
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337526 #682675
analogous
#5A7526 #337526 #267541
triadic
#337526 #263375 #752633
tetradic
#337526 #265A75 #682675 #754126
square
#337526 #265A75 #682675 #754126
split-complementary
#337526 #412675 #75265A
monochromatic
#0B1908 #1F4717 #337526 #47A335 #63C64F
Accessibility & contrast
On white
5.66
#337526 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#337526 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337526
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337526 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337526 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786B1C
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#2B7165
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #337526; /* rgb */ color: rgb(51, 117, 38); /* oklch */ color: oklch(50.1% 0.132 140.5);
Tailwind
colors: {
custom: {
50: '#729d64',
500: '#337526',
950: '#000000',
},
}SCSS
$custom: #337526; $custom-light: #729d64; $custom-dark: #000000;
JSON
{
"hex": "#337526",
"rgb": {
"r": 51,
"g": 117,
"b": 38
},
"hsl": {
"h": 110.127,
"s": 50.968,
"l": 30.392
},
"oklch": {
"l": 0.50144,
"c": 0.13154,
"h": 140.5
},
"luminance": 0.13566
}Semantic roles & 50–950 ramp
primary
#337526
secondary
#994FA7
accent
#4DDAC3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A