#336830#336830
#336830 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.6% C 0.103 H 142.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #336830 |
|---|---|
| RGB | rgb(51, 104, 48) |
| HSL | hsl(117, 37%, 30%) |
| HSV | hsv(117, 54%, 41%) |
| CMYK | cmyk(51%, 0%, 53.8%, 59.2%) |
| CIE-LAB | lab(39.27, -30.18, 26.03) |
| CIE-LCH | lch(39.27, 39.85, 139.22°) |
| OKLab | oklab(46.62% -0.0822 0.0627) |
| OKLCH | oklch(46.62% 0.103 142.7) |
| XYZ | xyz(6.8487, 10.8173, 4.5228) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.63
Pine
#2B5D34
ΔE00 4.94
Hunter Green
#355E3B
ΔE00 5.92
Spruce
#0A5F38
ΔE00 6.87
Darkgreen
#006400
ΔE00 6.94
Deep Green
#02590F
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336830 #653068
analogous
#4F6830 #336830 #306849
triadic
#336830 #303368 #683033
tetradic
#336830 #304F68 #653068 #684930
square
#336830 #304F68 #653068 #684930
split-complementary
#336830 #493068 #68304F
monochromatic
#0A150A #1E3E1D #336830 #489243 #62B55E
Accessibility & contrast
On white
6.64
#336830 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#336830 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336830
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336830 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336830 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5F2B
Deuteranopia (green-blind)
#635B34
Tritanopia (blue-blind)
#2C655B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #336830; /* rgb */ color: rgb(51, 104, 48); /* oklch */ color: oklch(46.6% 0.103 142.7);
Tailwind
colors: {
custom: {
50: '#6f936a',
500: '#336830',
950: '#000000',
},
}SCSS
$custom: #336830; $custom-light: #6f936a; $custom-dark: #000000;
JSON
{
"hex": "#336830",
"rgb": {
"r": 51,
"g": 104,
"b": 48
},
"hsl": {
"h": 116.786,
"s": 36.842,
"l": 29.804
},
"oklch": {
"l": 0.46622,
"c": 0.10335,
"h": 142.7
},
"luminance": 0.10818
}Semantic roles & 50–950 ramp
primary
#336830
secondary
#965A99
accent
#5BCDC7
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#080D06
muted
#7B7E7A