#336F2D#336F2D

#336F2D is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.5% C 0.117 H 141.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#336F2D
RGBrgb(51, 111, 45)
HSLhsl(115, 42%, 31%)
HSVhsv(115, 59%, 44%)
CMYKcmyk(54.1%, 0%, 59.5%, 56.5%)
CIE-LABlab(41.63, -33.72, 30.46)
CIE-LCHlch(41.63, 45.44, 137.91°)
OKLaboklab(48.54% -0.092 0.0721)
OKLCHoklch(48.54% 0.117 141.9)
XYZxyz(7.5230, 12.2616, 4.4524)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F2D #692D6F
analogous
#546F2D #336F2D #2D6F48
triadic
#336F2D #2D336F #6F2D33
tetradic
#336F2D #2D546F #692D6F #6F482D
square
#336F2D #2D546F #692D6F #6F482D
split-complementary
#336F2D #482D6F #6F2D54
monochromatic
#0B180A #1F431B #336F2D #479B3F #63BC5A

Accessibility & contrast

On white

6.08
#336F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#336F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F2D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F2D#FFFFFF#000000##FFFFFF
##336F2D1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726526
Deuteranopia (green-blind)
#6A6032
Tritanopia (blue-blind)
#2C6C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f2d;
/* rgb */ color: rgb(51, 111, 45);
/* oklch */ color: oklch(48.5% 0.117 141.9);
Tailwind
colors: {
  custom: {
    50: '#709968',
    500: '#336f2d',
    950: '#000000',
  },
}
SCSS
$custom: #336f2d;
$custom-light: #709968;
$custom-dark: #000000;
JSON
{
  "hex": "#336f2d",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 114.545,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48544,
    "c": 0.1169,
    "h": 141.9
  },
  "luminance": 0.12262
}

Semantic roles & 50–950 ramp

primary
#336F2D
secondary
#9A57A1
accent
#56D2C7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #336F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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