#336237#336237
#336237 is a mid, moderate green. Relative luminance 0.097; OKLCH L 45.1% C 0.086 H 145.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #336237 |
|---|---|
| RGB | rgb(51, 98, 55) |
| HSL | hsl(125, 32%, 29%) |
| HSV | hsv(125, 48%, 38%) |
| CMYK | cmyk(48%, 0%, 43.9%, 61.6%) |
| CIE-LAB | lab(37.33, -26.20, 19.61) |
| CIE-LCH | lch(37.33, 32.73, 143.19°) |
| OKLab | oklab(45.07% -0.0712 0.0484) |
| OKLCH | oklch(45.07% 0.086 145.8) |
| XYZ | xyz(6.4222, 9.7146, 5.1504) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.95
Hunter Green
#355E3B
ΔE00 2.48
Forest Green
#2D5A27
ΔE00 3.65
Spruce
#0A5F38
ΔE00 4.86
Deep Green
#02590F
ΔE00 7.84
Forest
#0B5509
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336237 #62335E
analogous
#476233 #336237 #33624F
triadic
#336237 #373362 #623733
tetradic
#336237 #334762 #62335E #624F33
square
#336237 #334762 #62335E #624F33
split-complementary
#336237 #4F3362 #623347
monochromatic
#0A140B #1E3A20 #336237 #488A4E #62AD68
Accessibility & contrast
On white
7.14
#336237 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#336237 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #336237
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336237 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336237 | 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)
#635B34
Deuteranopia (green-blind)
#5D563A
Tritanopia (blue-blind)
#2C6057
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #336237; /* rgb */ color: rgb(51, 98, 55); /* oklch */ color: oklch(45.1% 0.086 145.8);
Tailwind
colors: {
custom: {
50: '#6e8f6e',
500: '#336237',
950: '#000000',
},
}SCSS
$custom: #336237; $custom-light: #6e8f6e; $custom-dark: #000000;
JSON
{
"hex": "#336237",
"rgb": {
"r": 51,
"g": 98,
"b": 55
},
"hsl": {
"h": 125.106,
"s": 31.544,
"l": 29.216
},
"oklch": {
"l": 0.45067,
"c": 0.08614,
"h": 145.8
},
"luminance": 0.09715
}Semantic roles & 50–950 ramp
primary
#336237
secondary
#935E8E
accent
#60BFC8
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C07
muted
#7A7D7A