#336827#336827
#336827 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.5% C 0.112 H 140.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #336827 |
|---|---|
| RGB | rgb(51, 104, 39) |
| HSL | hsl(109, 45%, 28%) |
| HSV | hsv(109, 63%, 41%) |
| CMYK | cmyk(51%, 0%, 62.5%, 59.2%) |
| CIE-LAB | lab(39.16, -31.39, 30.66) |
| CIE-LCH | lch(39.16, 43.88, 135.68°) |
| OKLab | oklab(46.49% -0.086 0.072) |
| OKLCH | oklch(46.49% 0.112 140.1) |
| XYZ | xyz(6.6815, 10.7504, 3.6420) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.12
Darkgreen
#006400
ΔE00 5.52
Deep Green
#02590F
ΔE00 6.37
Pine
#2B5D34
ΔE00 6.42
Darkolivegreen
#556B2F
ΔE00 6.85
Forest
#0B5509
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336827 #5C2768
analogous
#536827 #336827 #27683B
triadic
#336827 #273368 #682733
tetradic
#336827 #275368 #5C2768 #683B27
square
#336827 #275368 #5C2768 #683B27
split-complementary
#336827 #3B2768 #682753
monochromatic
#0B1608 #1D3B16 #336827 #499538 #62BC4D
Accessibility & contrast
On white
6.67
#336827 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#336827 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336827
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336827 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5F20
Deuteranopia (green-blind)
#645A2C
Tritanopia (blue-blind)
#2E655A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #336827; /* rgb */ color: rgb(51, 104, 39); /* oklch */ color: oklch(46.5% 0.112 140.1);
Tailwind
colors: {
custom: {
50: '#709364',
500: '#336827',
950: '#000000',
},
}SCSS
$custom: #336827; $custom-light: #709364; $custom-dark: #000000;
JSON
{
"hex": "#336827",
"rgb": {
"r": 51,
"g": 104,
"b": 39
},
"hsl": {
"h": 108.923,
"s": 45.455,
"l": 28.039
},
"oklch": {
"l": 0.46492,
"c": 0.11217,
"h": 140.1
},
"luminance": 0.10751
}Semantic roles & 50–950 ramp
primary
#336827
secondary
#8D509B
accent
#53D5BD
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#080D05
muted
#7B7E7A