#336342#336342
#336342 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.6% C 0.076 H 152.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #336342 |
|---|---|
| RGB | rgb(51, 99, 66) |
| HSL | hsl(139, 32%, 29%) |
| HSV | hsv(139, 48%, 39%) |
| CMYK | cmyk(48.5%, 0%, 33.3%, 61.2%) |
| CIE-LAB | lab(37.88, -24.57, 13.82) |
| CIE-LCH | lch(37.88, 28.19, 150.63°) |
| OKLab | oklab(45.59% -0.067 0.0349) |
| OKLCH | oklch(45.59% 0.076 152.5) |
| XYZ | xyz(6.8100, 10.0203, 6.7285) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 2.20
Pine
#2B5D34
ΔE00 3.38
Spruce
#0A5F38
ΔE00 4.62
Forest Green
#2D5A27
ΔE00 6.32
Dark Green Blue
#1F6357
ΔE00 8.58
Evergreen
#05472A
ΔE00 9.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336342 #633354
analogous
#3C6333 #336342 #33635A
triadic
#336342 #423363 #634233
tetradic
#336342 #333C63 #633354 #635A33
square
#336342 #333C63 #633354 #635A33
split-complementary
#336342 #5A3363 #63333C
monochromatic
#0A140D #1E3B27 #336342 #488B5D #62AE7A
Accessibility & contrast
On white
6.99
#336342 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#336342 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336342
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336342 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336342 | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635C40
Deuteranopia (green-blind)
#5C5744
Tritanopia (blue-blind)
#29625A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #336342; /* rgb */ color: rgb(51, 99, 66); /* oklch */ color: oklch(45.6% 0.076 152.5);
Tailwind
colors: {
custom: {
50: '#6e9076',
500: '#336342',
950: '#000000',
},
}SCSS
$custom: #336342; $custom-light: #6e9076; $custom-dark: #000000;
JSON
{
"hex": "#336342",
"rgb": {
"r": 51,
"g": 99,
"b": 66
},
"hsl": {
"h": 138.75,
"s": 32,
"l": 29.412
},
"oklch": {
"l": 0.45588,
"c": 0.07558,
"h": 152.5
},
"luminance": 0.10021
}Semantic roles & 50–950 ramp
primary
#336342
secondary
#945E83
accent
#60A7C8
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#070C08
muted
#7A7D7B