#336D2E#336D2E

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

Color values

HEX#336D2E
RGBrgb(51, 109, 46)
HSLhsl(115, 41%, 30%)
HSVhsv(115, 58%, 43%)
CMYKcmyk(53.2%, 0%, 57.8%, 57.3%)
CIE-LABlab(40.96, -32.71, 29.14)
CIE-LCHlch(40.96, 43.81, 138.30°)
OKLaboklab(48% -0.0892 0.0694)
OKLCHoklch(48% 0.113 142.1)
XYZxyz(7.3267, 11.8378, 4.4831)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D2E #682E6D
analogous
#526D2E #336D2E #2E6D48
triadic
#336D2E #2E336D #6D2E33
tetradic
#336D2E #2E526D #682E6D #6D482E
square
#336D2E #2E526D #682E6D #6D482E
split-complementary
#336D2E #482E6D #6D2E52
monochromatic
#0B170A #1F421C #336D2E #479840 #63BA5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336D2E#FFFFFF#000000##FFFFFF
##336D2E1.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)
#6F6428
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#2C6A5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336d2e;
/* rgb */ color: rgb(51, 109, 46);
/* oklch */ color: oklch(48.0% 0.113 142.1);
Tailwind
colors: {
  custom: {
    50: '#709769',
    500: '#336d2e',
    950: '#000000',
  },
}
SCSS
$custom: #336d2e;
$custom-light: #709769;
$custom-dark: #000000;
JSON
{
  "hex": "#336d2e",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 46
  },
  "hsl": {
    "h": 115.238,
    "s": 40.645,
    "l": 30.392
  },
  "oklch": {
    "l": 0.47996,
    "c": 0.11298,
    "h": 142.1
  },
  "luminance": 0.11838
}

Semantic roles & 50–950 ramp

primary
#336D2E
secondary
#99589F
accent
#57D0C7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #336D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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