#336C1C#336C1C
#336C1C is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.5% C 0.127 H 138.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #336C1C |
|---|---|
| RGB | rgb(51, 108, 28) |
| HSL | hsl(103, 59%, 27%) |
| HSV | hsv(103, 74%, 42%) |
| CMYK | cmyk(52.8%, 0%, 74.1%, 57.6%) |
| CIE-LAB | lab(40.43, -34.28, 37.19) |
| CIE-LCH | lch(40.43, 50.58, 132.67°) |
| OKLab | oklab(47.5% -0.0946 0.0845) |
| OKLCH | oklch(47.5% 0.127 138.2) |
| XYZ | xyz(6.9372, 11.5123, 2.9549) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.82
Tree Green
#2A7E19
ΔE00 6.44
Darkish Green
#287C37
ΔE00 6.79
Darkolivegreen
#556B2F
ΔE00 6.97
Camouflage Green
#4B6113
ΔE00 7.35
Deep Green
#02590F
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336C1C #551C6C
analogous
#5B6C1C #336C1C #1C6C2D
triadic
#336C1C #1C336C #6C1C33
tetradic
#336C1C #1C5B6C #551C6C #6C2D1C
square
#336C1C #1C5B6C #551C6C #6C2D1C
split-complementary
#336C1C #2D1C6C #6C1C5B
monochromatic
#0B1806 #1C3B0F #336C1C #4A9D29 #62CB37
Accessibility & contrast
On white
6.36
#336C1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#336C1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336C1C
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336C1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336C1C | 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)
#70620F
Deuteranopia (green-blind)
#685D24
Tritanopia (blue-blind)
#2F685C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #336c1c; /* rgb */ color: rgb(51, 108, 28); /* oklch */ color: oklch(47.5% 0.127 138.2);
Tailwind
colors: {
custom: {
50: '#71975d',
500: '#336c1c',
950: '#000000',
},
}SCSS
$custom: #336c1c; $custom-light: #71975d; $custom-dark: #000000;
JSON
{
"hex": "#336c1c",
"rgb": {
"r": 51,
"g": 108,
"b": 28
},
"hsl": {
"h": 102.75,
"s": 58.824,
"l": 26.667
},
"oklch": {
"l": 0.47504,
"c": 0.12685,
"h": 138.2
},
"luminance": 0.11513
}Semantic roles & 50–950 ramp
primary
#336C1C
secondary
#8643A1
accent
#46E2B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79