#336236#336236
#336236 is a mid, moderate green. Relative luminance 0.097; OKLCH L 45.0% C 0.087 H 145.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #336236 |
|---|---|
| RGB | rgb(51, 98, 54) |
| HSL | hsl(124, 32%, 29%) |
| HSV | hsv(124, 48%, 38%) |
| CMYK | cmyk(48%, 0%, 44.9%, 61.6%) |
| CIE-LAB | lab(37.31, -26.38, 20.17) |
| CIE-LCH | lch(37.31, 33.20, 142.60°) |
| OKLab | oklab(45.05% -0.0717 0.0497) |
| OKLCH | oklch(45.05% 0.087 145.3) |
| XYZ | xyz(6.3984, 9.7051, 5.0254) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.03
Hunter Green
#355E3B
ΔE00 2.70
Forest Green
#2D5A27
ΔE00 3.47
Spruce
#0A5F38
ΔE00 4.98
Deep Green
#02590F
ΔE00 7.64
Forest
#0B5509
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336236 #62335F
analogous
#486233 #336236 #33624E
triadic
#336236 #363362 #623633
tetradic
#336236 #334862 #62335F #624E33
square
#336236 #334862 #62335F #624E33
split-complementary
#336236 #4E3362 #623348
monochromatic
#0A140B #1E3A20 #336236 #488A4C #62AD67
Accessibility & contrast
On white
7.14
#336236 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#336236 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #336236
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336236 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336236 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635B33
Deuteranopia (green-blind)
#5D5639
Tritanopia (blue-blind)
#2C6057
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #336236; /* rgb */ color: rgb(51, 98, 54); /* oklch */ color: oklch(45.0% 0.087 145.3);
Tailwind
colors: {
custom: {
50: '#6e8f6d',
500: '#336236',
950: '#000000',
},
}SCSS
$custom: #336236; $custom-light: #6e8f6d; $custom-dark: #000000;
JSON
{
"hex": "#336236",
"rgb": {
"r": 51,
"g": 98,
"b": 54
},
"hsl": {
"h": 123.83,
"s": 31.544,
"l": 29.216
},
"oklch": {
"l": 0.45047,
"c": 0.08725,
"h": 145.3
},
"luminance": 0.09706
}Semantic roles & 50–950 ramp
primary
#336236
secondary
#935E90
accent
#60C1C8
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C07
muted
#7A7D7A