#336239#336239
#336239 is a mid, moderate green. Relative luminance 0.097; OKLCH L 45.1% C 0.084 H 146.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #336239 |
|---|---|
| RGB | rgb(51, 98, 57) |
| HSL | hsl(128, 32%, 29%) |
| HSV | hsv(128, 48%, 38%) |
| CMYK | cmyk(48%, 0%, 41.8%, 61.6%) |
| CIE-LAB | lab(37.36, -25.84, 18.48) |
| CIE-LCH | lch(37.36, 31.77, 144.42°) |
| OKLab | oklab(45.11% -0.0703 0.0459) |
| OKLCH | oklch(45.11% 0.084 146.9) |
| XYZ | xyz(6.4711, 9.7341, 5.4080) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.89
Hunter Green
#355E3B
ΔE00 2.08
Forest Green
#2D5A27
ΔE00 4.06
Spruce
#0A5F38
ΔE00 4.66
Deep Green
#02590F
ΔE00 8.28
Forest
#0B5509
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336239 #62335C
analogous
#456233 #336239 #336251
triadic
#336239 #393362 #623933
tetradic
#336239 #334562 #62335C #625133
square
#336239 #334562 #62335C #625133
split-complementary
#336239 #513362 #623345
monochromatic
#0A140C #1E3A22 #336239 #488A50 #62AD6C
Accessibility & contrast
On white
7.13
#336239 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#336239 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #336239
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336239 | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635B36
Deuteranopia (green-blind)
#5C563C
Tritanopia (blue-blind)
#2C6058
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #336239; /* rgb */ color: rgb(51, 98, 57); /* oklch */ color: oklch(45.1% 0.084 146.9);
Tailwind
colors: {
custom: {
50: '#6e8f70',
500: '#336239',
950: '#000000',
},
}SCSS
$custom: #336239; $custom-light: #6e8f70; $custom-dark: #000000;
JSON
{
"hex": "#336239",
"rgb": {
"r": 51,
"g": 98,
"b": 57
},
"hsl": {
"h": 127.66,
"s": 31.544,
"l": 29.216
},
"oklch": {
"l": 0.45108,
"c": 0.08389,
"h": 146.9
},
"luminance": 0.09735
}Semantic roles & 50–950 ramp
primary
#336239
secondary
#935E8C
accent
#60BAC8
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C07
muted
#7A7D7A