#336D1C#336D1C

#336D1C is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.8% C 0.128 H 138.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#336D1C
RGBrgb(51, 109, 28)
HSLhsl(103, 59%, 27%)
HSVhsv(103, 74%, 43%)
CMYKcmyk(53.2%, 0%, 74.3%, 57.3%)
CIE-LABlab(40.77, -34.70, 37.55)
CIE-LCHlch(40.77, 51.13, 132.75°)
OKLaboklab(47.79% -0.0958 0.0852)
OKLCHoklch(47.79% 0.128 138.3)
XYZxyz(7.0432, 11.7244, 2.9903)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D1C #561C6D
analogous
#5C6D1C #336D1C #1C6D2E
triadic
#336D1C #1C336D #6D1C33
tetradic
#336D1C #1C5C6D #561C6D #6D2E1C
square
#336D1C #1C5C6D #561C6D #6D2E1C
split-complementary
#336D1C #2E1C6D #6D1C5C
monochromatic
#0B1806 #1C3C0F #336D1C #4A9E29 #62CC38

Accessibility & contrast

On white

6.28
#336D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#336D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D1C
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D1C#FFFFFF#000000##FFFFFF
##336D1C1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71630F
Deuteranopia (green-blind)
#695E24
Tritanopia (blue-blind)
#2E695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336d1c;
/* rgb */ color: rgb(51, 109, 28);
/* oklch */ color: oklch(47.8% 0.128 138.3);
Tailwind
colors: {
  custom: {
    50: '#71975e',
    500: '#336d1c',
    950: '#000000',
  },
}
SCSS
$custom: #336d1c;
$custom-light: #71975e;
$custom-dark: #000000;
JSON
{
  "hex": "#336d1c",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 28
  },
  "hsl": {
    "h": 102.963,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47787,
    "c": 0.1282,
    "h": 138.3
  },
  "luminance": 0.11725
}

Semantic roles & 50–950 ramp

primary
#336D1C
secondary
#8743A2
accent
#45E2B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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