#336E2F#336E2F
#336E2F is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.3% C 0.114 H 142.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #336E2F |
|---|---|
| RGB | rgb(51, 110, 47) |
| HSL | hsl(116, 40%, 31%) |
| HSV | hsv(116, 57%, 43%) |
| CMYK | cmyk(53.6%, 0%, 57.3%, 56.9%) |
| CIE-LAB | lab(41.31, -33.01, 29.04) |
| CIE-LCH | lch(41.31, 43.97, 138.67°) |
| OKLab | oklab(48.29% -0.09 0.0692) |
| OKLCH | oklch(48.29% 0.114 142.4) |
| XYZ | xyz(7.4539, 12.0603, 4.6239) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.07
Darkgreen
#006400
ΔE00 6.68
Forest Green
#2D5A27
ΔE00 6.78
Pine
#2B5D34
ΔE00 7.15
Tree Green
#2A7E19
ΔE00 7.30
Darkolivegreen
#556B2F
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336E2F #6A2F6E
analogous
#526E2F #336E2F #2F6E4A
triadic
#336E2F #2F336E #6E2F33
tetradic
#336E2F #2F526E #6A2F6E #6E4A2F
square
#336E2F #2F526E #6A2F6E #6E4A2F
split-complementary
#336E2F #4A2F6E #6E2F52
monochromatic
#0B180A #1F431D #336E2F #479941 #63BA5D
Accessibility & contrast
On white
6.15
#336E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#336E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336E2F
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336E2F | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706529
Deuteranopia (green-blind)
#695F34
Tritanopia (blue-blind)
#2B6B60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #336e2f; /* rgb */ color: rgb(51, 110, 47); /* oklch */ color: oklch(48.3% 0.114 142.4);
Tailwind
colors: {
custom: {
50: '#709869',
500: '#336e2f',
950: '#000000',
},
}SCSS
$custom: #336e2f; $custom-light: #709869; $custom-dark: #000000;
JSON
{
"hex": "#336e2f",
"rgb": {
"r": 51,
"g": 110,
"b": 47
},
"hsl": {
"h": 116.19,
"s": 40.127,
"l": 30.784
},
"oklch": {
"l": 0.48291,
"c": 0.1135,
"h": 142.4
},
"luminance": 0.12061
}Semantic roles & 50–950 ramp
primary
#336E2F
secondary
#9B599F
accent
#58D0C8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A