#336D1D#336D1D

#336D1D is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.8% C 0.127 H 138.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#336D1D
RGBrgb(51, 109, 29)
HSLhsl(104, 58%, 27%)
HSVhsv(104, 73%, 43%)
CMYKcmyk(53.2%, 0%, 73.4%, 57.3%)
CIE-LABlab(40.78, -34.62, 37.13)
CIE-LCHlch(40.78, 50.77, 132.99°)
OKLaboklab(47.8% -0.0955 0.0845)
OKLCHoklch(47.8% 0.127 138.5)
XYZxyz(7.0554, 11.7293, 3.0544)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D1D #571D6D
analogous
#5B6D1D #336D1D #1D6D2F
triadic
#336D1D #1D336D #6D1D33
tetradic
#336D1D #1D5B6D #571D6D #6D2F1D
square
#336D1D #1D5B6D #571D6D #6D2F1D
split-complementary
#336D1D #2F1D6D #6D1D5B
monochromatic
#0B1806 #1C3D10 #336D1D #4A9D2A #62CB3A

Accessibility & contrast

On white

6.28
#336D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#336D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D1D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D1D#FFFFFF#000000##FFFFFF
##336D1D1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706311
Deuteranopia (green-blind)
#695E25
Tritanopia (blue-blind)
#2E695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336d1d;
/* rgb */ color: rgb(51, 109, 29);
/* oklch */ color: oklch(47.8% 0.127 138.5);
Tailwind
colors: {
  custom: {
    50: '#71975e',
    500: '#336d1d',
    950: '#000000',
  },
}
SCSS
$custom: #336d1d;
$custom-light: #71975e;
$custom-dark: #000000;
JSON
{
  "hex": "#336d1d",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 29
  },
  "hsl": {
    "h": 103.5,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47796,
    "c": 0.12749,
    "h": 138.5
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#336D1D
secondary
#8844A2
accent
#47E1B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #336D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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