#336E1B#336E1B
#336E1B is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.1% C 0.130 H 138.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #336E1B |
|---|---|
| RGB | rgb(51, 110, 27) |
| HSL | hsl(103, 61%, 27%) |
| HSV | hsv(103, 75%, 43%) |
| CMYK | cmyk(53.6%, 0%, 75.5%, 56.9%) |
| CIE-LAB | lab(41.11, -35.21, 38.30) |
| CIE-LCH | lch(41.11, 52.03, 132.59°) |
| OKLab | oklab(48.06% -0.0972 0.0867) |
| OKLCH | oklch(48.06% 0.13 138.3) |
| XYZ | xyz(7.1387, 11.9343, 2.9641) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.09
Tree Green
#2A7E19
ΔE00 5.72
Darkish Green
#287C37
ΔE00 6.42
Dark Grass Green
#388004
ΔE00 7.06
Darkolivegreen
#556B2F
ΔE00 7.17
Green
#008000
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336E1B #561B6E
analogous
#5D6E1B #336E1B #1B6E2D
triadic
#336E1B #1B336E #6E1B33
tetradic
#336E1B #1B5D6E #561B6E #6E2D1B
square
#336E1B #1B5D6E #561B6E #6E2D1B
split-complementary
#336E1B #2D1B6E #6E1B5D
monochromatic
#0B1906 #1C3D0F #336E1B #4A9F27 #62CE36
Accessibility & contrast
On white
6.20
#336E1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#336E1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336E1B
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336E1B | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72640D
Deuteranopia (green-blind)
#6A5F23
Tritanopia (blue-blind)
#2E6A5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #336e1b; /* rgb */ color: rgb(51, 110, 27); /* oklch */ color: oklch(48.1% 0.130 138.3);
Tailwind
colors: {
custom: {
50: '#71985d',
500: '#336e1b',
950: '#000000',
},
}SCSS
$custom: #336e1b; $custom-light: #71985d; $custom-dark: #000000;
JSON
{
"hex": "#336e1b",
"rgb": {
"r": 51,
"g": 110,
"b": 27
},
"hsl": {
"h": 102.651,
"s": 60.584,
"l": 26.863
},
"oklch": {
"l": 0.48062,
"c": 0.13024,
"h": 138.3
},
"luminance": 0.11935
}Semantic roles & 50–950 ramp
primary
#336E1B
secondary
#8742A3
accent
#44E4B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79