#336B1E#336B1E

#336B1E is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.2% C 0.124 H 138.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#336B1E
RGBrgb(51, 107, 30)
HSLhsl(104, 56%, 27%)
HSVhsv(104, 72%, 42%)
CMYKcmyk(52.3%, 0%, 72%, 58%)
CIE-LABlab(40.10, -33.67, 35.99)
CIE-LCHlch(40.10, 49.28, 133.10°)
OKLaboklab(47.24% -0.0928 0.0822)
OKLCHoklch(47.24% 0.124 138.5)
XYZxyz(6.8570, 11.3124, 3.0502)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B1E #561E6B
analogous
#5A6B1E #336B1E #1E6B30
triadic
#336B1E #1E336B #6B1E33
tetradic
#336B1E #1E5A6B #561E6B #6B301E
square
#336B1E #1E5A6B #561E6B #6B301E
split-complementary
#336B1E #301E6B #6B1E5A
monochromatic
#0B1807 #1C3B11 #336B1E #4A9B2B #62C83B

Accessibility & contrast

On white

6.44
#336B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#336B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B1E
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B1E#FFFFFF#000000##FFFFFF
##336B1E1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6113
Deuteranopia (green-blind)
#675D25
Tritanopia (blue-blind)
#2F675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336b1e;
/* rgb */ color: rgb(51, 107, 30);
/* oklch */ color: oklch(47.2% 0.124 138.5);
Tailwind
colors: {
  custom: {
    50: '#71965e',
    500: '#336b1e',
    950: '#000000',
  },
}
SCSS
$custom: #336b1e;
$custom-light: #71965e;
$custom-dark: #000000;
JSON
{
  "hex": "#336b1e",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 30
  },
  "hsl": {
    "h": 103.636,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.12402,
    "h": 138.5
  },
  "luminance": 0.11313
}

Semantic roles & 50–950 ramp

primary
#336B1E
secondary
#87459F
accent
#48DFB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #336B1E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#336B1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva