#336C1B#336C1B
#336C1B is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.5% C 0.128 H 138.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #336C1B |
|---|---|
| RGB | rgb(51, 108, 27) |
| HSL | hsl(102, 60%, 26%) |
| HSV | hsv(102, 75%, 42%) |
| CMYK | cmyk(52.8%, 0%, 75%, 57.6%) |
| CIE-LAB | lab(40.42, -34.36, 37.60) |
| CIE-LCH | lch(40.42, 50.94, 132.42°) |
| OKLab | oklab(47.5% -0.0949 0.0852) |
| OKLCH | oklch(47.5% 0.128 138.1) |
| XYZ | xyz(6.9254, 11.5076, 2.8929) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.79
Tree Green
#2A7E19
ΔE00 6.41
Darkish Green
#287C37
ΔE00 6.87
Darkolivegreen
#556B2F
ΔE00 6.99
Camouflage Green
#4B6113
ΔE00 7.30
Deep Green
#02590F
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336C1B #541B6C
analogous
#5C6C1B #336C1B #1B6C2C
triadic
#336C1B #1B336C #6C1B33
tetradic
#336C1B #1B5C6C #541B6C #6C2C1B
square
#336C1B #1B5C6C #541B6C #6C2C1B
split-complementary
#336C1B #2C1B6C #6C1B5C
monochromatic
#0C1806 #1C3B0F #336C1B #4A9D27 #62CC35
Accessibility & contrast
On white
6.36
#336C1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#336C1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336C1B
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336C1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336C1B | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70620D
Deuteranopia (green-blind)
#685D23
Tritanopia (blue-blind)
#2F685C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #336c1b; /* rgb */ color: rgb(51, 108, 27); /* oklch */ color: oklch(47.5% 0.128 138.1);
Tailwind
colors: {
custom: {
50: '#71975d',
500: '#336c1b',
950: '#000000',
},
}SCSS
$custom: #336c1b; $custom-light: #71975d; $custom-dark: #000000;
JSON
{
"hex": "#336c1b",
"rgb": {
"r": 51,
"g": 108,
"b": 27
},
"hsl": {
"h": 102.222,
"s": 60,
"l": 26.471
},
"oklch": {
"l": 0.47495,
"c": 0.12755,
"h": 138.1
},
"luminance": 0.11508
}Semantic roles & 50–950 ramp
primary
#336C1B
secondary
#8542A1
accent
#45E3B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79