#336F1C#336F1C
#336F1C is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.131 H 138.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #336F1C |
|---|---|
| RGB | rgb(51, 111, 28) |
| HSL | hsl(103, 60%, 27%) |
| HSV | hsv(103, 75%, 44%) |
| CMYK | cmyk(54.1%, 0%, 74.8%, 56.5%) |
| CIE-LAB | lab(41.46, -35.55, 38.25) |
| CIE-LCH | lch(41.46, 52.22, 132.90°) |
| OKLab | oklab(48.35% -0.0981 0.0867) |
| OKLCH | oklch(48.35% 0.131 138.5) |
| XYZ | xyz(7.2590, 12.1560, 3.0622) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.29
Tree Green
#2A7E19
ΔE00 5.40
Darkish Green
#287C37
ΔE00 6.12
Dark Grass Green
#388004
ΔE00 6.80
Green
#008000
ΔE00 6.98
Darkolivegreen
#556B2F
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336F1C #581C6F
analogous
#5D6F1C #336F1C #1C6F2E
triadic
#336F1C #1C336F #6F1C33
tetradic
#336F1C #1C5D6F #581C6F #6F2E1C
square
#336F1C #1C5D6F #581C6F #6F2E1C
split-complementary
#336F1C #2E1C6F #6F1C5D
monochromatic
#0B1806 #1D3E10 #336F1C #49A028 #62CD38
Accessibility & contrast
On white
6.12
#336F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#336F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336F1C
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336F1C | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73650E
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#2E6B5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #336f1c; /* rgb */ color: rgb(51, 111, 28); /* oklch */ color: oklch(48.4% 0.131 138.5);
Tailwind
colors: {
custom: {
50: '#71995e',
500: '#336f1c',
950: '#000000',
},
}SCSS
$custom: #336f1c; $custom-light: #71995e; $custom-dark: #000000;
JSON
{
"hex": "#336f1c",
"rgb": {
"r": 51,
"g": 111,
"b": 28
},
"hsl": {
"h": 103.373,
"s": 59.712,
"l": 27.255
},
"oklch": {
"l": 0.48354,
"c": 0.13089,
"h": 138.5
},
"luminance": 0.12157
}Semantic roles & 50–950 ramp
primary
#336F1C
secondary
#8943A4
accent
#45E3B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79