#336A1D#336A1D

#336A1D is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.123 H 138.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#336A1D
RGBrgb(51, 106, 29)
HSLhsl(103, 57%, 26%)
HSVhsv(103, 73%, 42%)
CMYKcmyk(51.9%, 0%, 72.6%, 58.4%)
CIE-LABlab(39.75, -33.33, 36.05)
CIE-LCHlch(39.75, 49.10, 132.75°)
OKLaboklab(46.95% -0.092 0.0822)
OKLCHoklch(46.95% 0.123 138.2)
XYZxyz(6.7408, 11.1001, 2.9495)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A1D #541D6A
analogous
#5A6A1D #336A1D #1D6A2E
triadic
#336A1D #1D336A #6A1D33
tetradic
#336A1D #1D5A6A #541D6A #6A2E1D
square
#336A1D #1D5A6A #541D6A #6A2E1D
split-complementary
#336A1D #2E1D6A #6A1D5A
monochromatic
#0C1807 #1C3A10 #336A1D #4A9A2A #62C939

Accessibility & contrast

On white

6.52
#336A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#336A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A1D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A1D#FFFFFF#000000##FFFFFF
##336A1D1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6112
Deuteranopia (green-blind)
#665C24
Tritanopia (blue-blind)
#2F665B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336a1d;
/* rgb */ color: rgb(51, 106, 29);
/* oklch */ color: oklch(46.9% 0.123 138.2);
Tailwind
colors: {
  custom: {
    50: '#70955e',
    500: '#336a1d',
    950: '#000000',
  },
}
SCSS
$custom: #336a1d;
$custom-light: #70955e;
$custom-dark: #000000;
JSON
{
  "hex": "#336a1d",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 29
  },
  "hsl": {
    "h": 102.857,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46946,
    "c": 0.12339,
    "h": 138.2
  },
  "luminance": 0.11101
}

Semantic roles & 50–950 ramp

primary
#336A1D
secondary
#85449F
accent
#48E0B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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