#336F1B#336F1B
#336F1B is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.132 H 138.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #336F1B |
|---|---|
| RGB | rgb(51, 111, 27) |
| HSL | hsl(103, 61%, 27%) |
| HSV | hsv(103, 76%, 44%) |
| CMYK | cmyk(54.1%, 0%, 75.7%, 56.5%) |
| CIE-LAB | lab(41.46, -35.63, 38.65) |
| CIE-LCH | lch(41.46, 52.57, 132.67°) |
| OKLab | oklab(48.35% -0.0984 0.0874) |
| OKLCH | oklch(48.35% 0.132 138.4) |
| XYZ | xyz(7.2472, 12.1513, 3.0002) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.27
Tree Green
#2A7E19
ΔE00 5.37
Darkish Green
#287C37
ΔE00 6.21
Dark Grass Green
#388004
ΔE00 6.73
Green
#008000
ΔE00 6.93
Darkolivegreen
#556B2F
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336F1B #571B6F
analogous
#5D6F1B #336F1B #1B6F2D
triadic
#336F1B #1B336F #6F1B33
tetradic
#336F1B #1B5D6F #571B6F #6F2D1B
square
#336F1B #1B5D6F #571B6F #6F2D1B
split-complementary
#336F1B #2D1B6F #6F1B5D
monochromatic
#0B1906 #1C3E0F #336F1B #4AA027 #62CE36
Accessibility & contrast
On white
6.12
#336F1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#336F1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336F1B
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336F1B | 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)
#73650C
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#2E6B5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #336f1b; /* rgb */ color: rgb(51, 111, 27); /* oklch */ color: oklch(48.3% 0.132 138.4);
Tailwind
colors: {
custom: {
50: '#71995d',
500: '#336f1b',
950: '#000000',
},
}SCSS
$custom: #336f1b; $custom-light: #71995d; $custom-dark: #000000;
JSON
{
"hex": "#336f1b",
"rgb": {
"r": 51,
"g": 111,
"b": 27
},
"hsl": {
"h": 102.857,
"s": 60.87,
"l": 27.059
},
"oklch": {
"l": 0.48345,
"c": 0.13157,
"h": 138.4
},
"luminance": 0.12152
}Semantic roles & 50–950 ramp
primary
#336F1B
secondary
#8842A4
accent
#44E4B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79