#336D2D#336D2D

#336D2D is a mid, moderate green. Relative luminance 0.118; OKLCH L 48.0% C 0.114 H 141.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#336D2D
RGBrgb(51, 109, 45)
HSLhsl(114, 42%, 30%)
HSVhsv(114, 59%, 43%)
CMYKcmyk(53.2%, 0%, 58.7%, 57.3%)
CIE-LABlab(40.94, -32.85, 29.65)
CIE-LCHlch(40.94, 44.25, 137.93°)
OKLaboklab(47.98% -0.0896 0.0704)
OKLCHoklch(47.98% 0.114 141.8)
XYZxyz(7.3072, 11.8300, 4.3805)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D2D #672D6D
analogous
#536D2D #336D2D #2D6D47
triadic
#336D2D #2D336D #6D2D33
tetradic
#336D2D #2D536D #672D6D #6D472D
square
#336D2D #2D536D #672D6D #6D472D
split-complementary
#336D2D #472D6D #6D2D53
monochromatic
#0A1609 #1F421B #336D2D #47983F #63BB5A

Accessibility & contrast

On white

6.24
#336D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#336D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D2D
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D2D#FFFFFF#000000##FFFFFF
##336D2D1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706427
Deuteranopia (green-blind)
#685F32
Tritanopia (blue-blind)
#2C6A5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336d2d;
/* rgb */ color: rgb(51, 109, 45);
/* oklch */ color: oklch(48.0% 0.114 141.8);
Tailwind
colors: {
  custom: {
    50: '#709768',
    500: '#336d2d',
    950: '#000000',
  },
}
SCSS
$custom: #336d2d;
$custom-light: #709768;
$custom-dark: #000000;
JSON
{
  "hex": "#336d2d",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 45
  },
  "hsl": {
    "h": 114.375,
    "s": 41.558,
    "l": 30.196
  },
  "oklch": {
    "l": 0.47982,
    "c": 0.11394,
    "h": 141.8
  },
  "luminance": 0.11831
}

Semantic roles & 50–950 ramp

primary
#336D2D
secondary
#98579F
accent
#56D1C6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #336D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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