#336826#336826
#336826 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.5% C 0.113 H 139.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #336826 |
|---|---|
| RGB | rgb(51, 104, 38) |
| HSL | hsl(108, 46%, 28%) |
| HSV | hsv(108, 63%, 41%) |
| CMYK | cmyk(51%, 0%, 63.5%, 59.2%) |
| CIE-LAB | lab(39.15, -31.51, 31.15) |
| CIE-LCH | lch(39.15, 44.31, 135.33°) |
| OKLab | oklab(46.48% -0.0864 0.073) |
| OKLCH | oklch(46.48% 0.113 139.8) |
| XYZ | xyz(6.6651, 10.7439, 3.5559) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.21
Darkgreen
#006400
ΔE00 5.39
Deep Green
#02590F
ΔE00 6.34
Pine
#2B5D34
ΔE00 6.58
Darkolivegreen
#556B2F
ΔE00 6.82
Forest
#0B5509
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336826 #5B2668
analogous
#546826 #336826 #26683A
triadic
#336826 #263368 #682633
tetradic
#336826 #265468 #5B2668 #683A26
square
#336826 #265468 #5B2668 #683A26
split-complementary
#336826 #3A2668 #682654
monochromatic
#0B1608 #1D3B16 #336826 #499536 #62BD4B
Accessibility & contrast
On white
6.67
#336826 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#336826 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336826
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336826 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336826 | 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)
#6B5F1F
Deuteranopia (green-blind)
#645A2B
Tritanopia (blue-blind)
#2E655A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #336826; /* rgb */ color: rgb(51, 104, 38); /* oklch */ color: oklch(46.5% 0.113 139.8);
Tailwind
colors: {
custom: {
50: '#709363',
500: '#336826',
950: '#000000',
},
}SCSS
$custom: #336826; $custom-light: #709363; $custom-dark: #000000;
JSON
{
"hex": "#336826",
"rgb": {
"r": 51,
"g": 104,
"b": 38
},
"hsl": {
"h": 108.182,
"s": 46.479,
"l": 27.843
},
"oklch": {
"l": 0.46479,
"c": 0.1131,
"h": 139.8
},
"luminance": 0.10744
}Semantic roles & 50–950 ramp
primary
#336826
secondary
#8C4F9B
accent
#52D6BC
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#080D05
muted
#7B7E7A