#336F1D#336F1D

#336F1D is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.130 H 138.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#336F1D
RGBrgb(51, 111, 29)
HSLhsl(104, 59%, 27%)
HSVhsv(104, 74%, 44%)
CMYKcmyk(54.1%, 0%, 73.9%, 56.5%)
CIE-LABlab(41.47, -35.46, 37.84)
CIE-LCHlch(41.47, 51.86, 133.14°)
OKLaboklab(48.36% -0.0978 0.086)
OKLCHoklch(48.36% 0.13 138.7)
XYZxyz(7.2712, 12.1608, 3.1263)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F1D #591D6F
analogous
#5C6F1D #336F1D #1D6F30
triadic
#336F1D #1D336F #6F1D33
tetradic
#336F1D #1D5C6F #591D6F #6F301D
square
#336F1D #1D5C6F #591D6F #6F301D
split-complementary
#336F1D #301D6F #6F1D5C
monochromatic
#0B1806 #1D3E10 #336F1D #49A02A #62CC3B

Accessibility & contrast

On white

6.12
#336F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#336F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F1D
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F1D#FFFFFF#000000##FFFFFF
##336F1D1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726510
Deuteranopia (green-blind)
#6B6025
Tritanopia (blue-blind)
#2E6B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f1d;
/* rgb */ color: rgb(51, 111, 29);
/* oklch */ color: oklch(48.4% 0.130 138.7);
Tailwind
colors: {
  custom: {
    50: '#71995e',
    500: '#336f1d',
    950: '#000000',
  },
}
SCSS
$custom: #336f1d;
$custom-light: #71995e;
$custom-dark: #000000;
JSON
{
  "hex": "#336f1d",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 29
  },
  "hsl": {
    "h": 103.902,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48363,
    "c": 0.1302,
    "h": 138.7
  },
  "luminance": 0.12161
}

Semantic roles & 50–950 ramp

primary
#336F1D
secondary
#8A44A3
accent
#46E2B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #336F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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