#336D2C#336D2C

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

Color values

HEX#336D2C
RGBrgb(51, 109, 44)
HSLhsl(114, 42%, 30%)
HSVhsv(114, 60%, 43%)
CMYKcmyk(53.2%, 0%, 59.6%, 57.3%)
CIE-LABlab(40.93, -32.98, 30.16)
CIE-LCHlch(40.93, 44.69, 137.56°)
OKLaboklab(47.97% -0.09 0.0714)
OKLCHoklch(47.97% 0.115 141.6)
XYZxyz(7.2882, 11.8224, 4.2803)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D2C #662C6D
analogous
#546D2C #336D2C #2C6D45
triadic
#336D2C #2C336D #6D2C33
tetradic
#336D2C #2C546D #662C6D #6D452C
square
#336D2C #2C546D #662C6D #6D452C
split-complementary
#336D2C #452C6D #6D2C54
monochromatic
#0A1609 #1F411A #336D2C #47993E #63BC58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336D2C#FFFFFF#000000##FFFFFF
##336D2C1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706426
Deuteranopia (green-blind)
#685F31
Tritanopia (blue-blind)
#2C6A5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336d2c;
/* rgb */ color: rgb(51, 109, 44);
/* oklch */ color: oklch(48.0% 0.115 141.6);
Tailwind
colors: {
  custom: {
    50: '#709767',
    500: '#336d2c',
    950: '#000000',
  },
}
SCSS
$custom: #336d2c;
$custom-light: #709767;
$custom-dark: #000000;
JSON
{
  "hex": "#336d2c",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 44
  },
  "hsl": {
    "h": 113.538,
    "s": 42.484,
    "l": 30
  },
  "oklch": {
    "l": 0.47968,
    "c": 0.1149,
    "h": 141.6
  },
  "luminance": 0.11823
}

Semantic roles & 50–950 ramp

primary
#336D2C
secondary
#97569F
accent
#56D2C5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #336D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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