#336B26#336B26
#336B26 is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.3% C 0.117 H 140.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #336B26 |
|---|---|
| RGB | rgb(51, 107, 38) |
| HSL | hsl(109, 48%, 28%) |
| HSV | hsv(109, 64%, 42%) |
| CMYK | cmyk(52.3%, 0%, 64.5%, 58%) |
| CIE-LAB | lab(40.18, -32.84, 32.32) |
| CIE-LCH | lch(40.18, 46.08, 135.45°) |
| OKLab | oklab(47.33% -0.09 0.0755) |
| OKLCH | oklch(47.33% 0.117 140) |
| XYZ | xyz(6.9725, 11.3586, 3.6584) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.40
Forest Green
#2D5A27
ΔE00 6.27
Darkish Green
#287C37
ΔE00 6.32
Darkolivegreen
#556B2F
ΔE00 6.87
Deep Green
#02590F
ΔE00 7.00
Tree Green
#2A7E19
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336B26 #5E266B
analogous
#556B26 #336B26 #266B3B
triadic
#336B26 #26336B #6B2633
tetradic
#336B26 #26556B #5E266B #6B3B26
square
#336B26 #26556B #5E266B #6B3B26
split-complementary
#336B26 #3B266B #6B2655
monochromatic
#0B1708 #1D3E16 #336B26 #499836 #62BF4C
Accessibility & contrast
On white
6.42
#336B26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#336B26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336B26
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336B26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336B26 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E621E
Deuteranopia (green-blind)
#675D2C
Tritanopia (blue-blind)
#2E685C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #336b26; /* rgb */ color: rgb(51, 107, 38); /* oklch */ color: oklch(47.3% 0.117 140.0);
Tailwind
colors: {
custom: {
50: '#709663',
500: '#336b26',
950: '#000000',
},
}SCSS
$custom: #336b26; $custom-light: #709663; $custom-dark: #000000;
JSON
{
"hex": "#336b26",
"rgb": {
"r": 51,
"g": 107,
"b": 38
},
"hsl": {
"h": 108.696,
"s": 47.586,
"l": 28.431
},
"oklch": {
"l": 0.47326,
"c": 0.11746,
"h": 140
},
"luminance": 0.11359
}Semantic roles & 50–950 ramp
primary
#336B26
secondary
#8F4F9E
accent
#51D7BE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D05
muted
#7B7E7A