#336D2A#336D2A

#336D2A is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.9% C 0.117 H 141.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#336D2A
RGBrgb(51, 109, 42)
HSLhsl(112, 44%, 30%)
HSVhsv(112, 61%, 43%)
CMYKcmyk(53.2%, 0%, 61.5%, 57.3%)
CIE-LABlab(40.91, -33.23, 31.15)
CIE-LCHlch(40.91, 45.55, 136.85°)
OKLaboklab(47.94% -0.0908 0.0734)
OKLCHoklch(47.94% 0.117 141.1)
XYZxyz(7.2515, 11.8077, 4.0870)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D2A #642A6D
analogous
#556D2A #336D2A #2A6D42
triadic
#336D2A #2A336D #6D2A33
tetradic
#336D2A #2A556D #642A6D #6D422A
square
#336D2A #2A556D #642A6D #6D422A
split-complementary
#336D2A #422A6D #6D2A55
monochromatic
#0A1609 #1E4119 #336D2A #48993B #62BD54

Accessibility & contrast

On white

6.25
#336D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#336D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D2A
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D2A#FFFFFF#000000##FFFFFF
##336D2A1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706423
Deuteranopia (green-blind)
#685F2F
Tritanopia (blue-blind)
#2C6A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336d2a;
/* rgb */ color: rgb(51, 109, 42);
/* oklch */ color: oklch(47.9% 0.117 141.1);
Tailwind
colors: {
  custom: {
    50: '#709766',
    500: '#336d2a',
    950: '#000000',
  },
}
SCSS
$custom: #336d2a;
$custom-light: #709766;
$custom-dark: #000000;
JSON
{
  "hex": "#336d2a",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 42
  },
  "hsl": {
    "h": 111.94,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.47941,
    "c": 0.11677,
    "h": 141.1
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#336D2A
secondary
#95549F
accent
#54D4C3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #336D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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