#336D2F#336D2F

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

Color values

HEX#336D2F
RGBrgb(51, 109, 47)
HSLhsl(116, 40%, 31%)
HSVhsv(116, 57%, 43%)
CMYKcmyk(53.2%, 0%, 56.9%, 57.3%)
CIE-LABlab(40.97, -32.57, 28.63)
CIE-LCHlch(40.97, 43.37, 138.69°)
OKLaboklab(48.01% -0.0888 0.0683)
OKLCHoklch(48.01% 0.112 142.4)
XYZxyz(7.3466, 11.8458, 4.5881)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D2F #692F6D
analogous
#526D2F #336D2F #2F6D4A
triadic
#336D2F #2F336D #6D2F33
tetradic
#336D2F #2F526D #692F6D #6D4A2F
square
#336D2F #2F526D #692F6D #6D4A2F
split-complementary
#336D2F #4A2F6D #6D2F52
monochromatic
#0B170A #1F421D #336D2F #479841 #63B95D

Accessibility & contrast

On white

6.23
#336D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336D2F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D2F#FFFFFF#000000##FFFFFF
##336D2F1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6429
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#2C6A5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336d2f;
/* rgb */ color: rgb(51, 109, 47);
/* oklch */ color: oklch(48.0% 0.112 142.4);
Tailwind
colors: {
  custom: {
    50: '#709769',
    500: '#336d2f',
    950: '#000000',
  },
}
SCSS
$custom: #336d2f;
$custom-light: #709769;
$custom-dark: #000000;
JSON
{
  "hex": "#336d2f",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 47
  },
  "hsl": {
    "h": 116.129,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48011,
    "c": 0.11201,
    "h": 142.4
  },
  "luminance": 0.11846
}

Semantic roles & 50–950 ramp

primary
#336D2F
secondary
#9A599E
accent
#58D0C8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #336D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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