#336B22#336B22
#336B22 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.3% C 0.121 H 139.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #336B22 |
|---|---|
| RGB | rgb(51, 107, 34) |
| HSL | hsl(106, 52%, 28%) |
| HSV | hsv(106, 68%, 42%) |
| CMYK | cmyk(52.3%, 0%, 68.2%, 58%) |
| CIE-LAB | lab(40.14, -33.28, 34.20) |
| CIE-LCH | lch(40.14, 47.72, 134.21°) |
| OKLab | oklab(47.28% -0.0915 0.079) |
| OKLCH | oklch(47.28% 0.121 139.2) |
| XYZ | xyz(6.9114, 11.3342, 3.3366) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.04
Darkish Green
#287C37
ΔE00 6.57
Forest Green
#2D5A27
ΔE00 6.62
Darkolivegreen
#556B2F
ΔE00 6.84
Deep Green
#02590F
ΔE00 7.00
Tree Green
#2A7E19
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336B22 #5A226B
analogous
#586B22 #336B22 #226B35
triadic
#336B22 #22336B #6B2233
tetradic
#336B22 #22586B #5A226B #6B3522
square
#336B22 #22586B #5A226B #6B3522
split-complementary
#336B22 #35226B #6B2258
monochromatic
#0B1707 #1D3D13 #336B22 #499931 #62C444
Accessibility & contrast
On white
6.43
#336B22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#336B22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336B22
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336B22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336B22 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6219
Deuteranopia (green-blind)
#675D28
Tritanopia (blue-blind)
#2E675C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #336b22; /* rgb */ color: rgb(51, 107, 34); /* oklch */ color: oklch(47.3% 0.121 139.2);
Tailwind
colors: {
custom: {
50: '#709661',
500: '#336b22',
950: '#000000',
},
}SCSS
$custom: #336b22; $custom-light: #709661; $custom-dark: #000000;
JSON
{
"hex": "#336b22",
"rgb": {
"r": 51,
"g": 107,
"b": 34
},
"hsl": {
"h": 106.027,
"s": 51.773,
"l": 27.647
},
"oklch": {
"l": 0.4728,
"c": 0.12087,
"h": 139.2
},
"luminance": 0.11335
}Semantic roles & 50–950 ramp
primary
#336B22
secondary
#8B4A9F
accent
#4DDBBA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080D05
muted
#7B7E79