#336E1C#336E1C

#336E1C is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.1% C 0.130 H 138.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#336E1C
RGBrgb(51, 110, 28)
HSLhsl(103, 59%, 27%)
HSVhsv(103, 75%, 43%)
CMYKcmyk(53.6%, 0%, 74.5%, 56.9%)
CIE-LABlab(41.12, -35.13, 37.90)
CIE-LCHlch(41.12, 51.68, 132.83°)
OKLaboklab(48.07% -0.0969 0.086)
OKLCHoklch(48.07% 0.13 138.4)
XYZxyz(7.1505, 11.9390, 3.0260)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E1C #571C6E
analogous
#5C6E1C #336E1C #1C6E2E
triadic
#336E1C #1C336E #6E1C33
tetradic
#336E1C #1C5C6E #571C6E #6E2E1C
square
#336E1C #1C5C6E #571C6E #6E2E1C
split-complementary
#336E1C #2E1C6E #6E1C5C
monochromatic
#0B1806 #1C3D10 #336E1C #4A9F28 #62CC38

Accessibility & contrast

On white

6.20
#336E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#336E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E1C
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E1C#FFFFFF#000000##FFFFFF
##336E1C1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640F
Deuteranopia (green-blind)
#6A5F24
Tritanopia (blue-blind)
#2E6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e1c;
/* rgb */ color: rgb(51, 110, 28);
/* oklch */ color: oklch(48.1% 0.130 138.4);
Tailwind
colors: {
  custom: {
    50: '#71985e',
    500: '#336e1c',
    950: '#000000',
  },
}
SCSS
$custom: #336e1c;
$custom-light: #71985e;
$custom-dark: #000000;
JSON
{
  "hex": "#336e1c",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 28
  },
  "hsl": {
    "h": 103.171,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48071,
    "c": 0.12955,
    "h": 138.4
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#336E1C
secondary
#8843A3
accent
#45E3B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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