#336A1C#336A1C

#336A1C is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.124 H 138.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#336A1C
RGBrgb(51, 106, 28)
HSLhsl(102, 58%, 26%)
HSVhsv(102, 74%, 42%)
CMYKcmyk(51.9%, 0%, 73.6%, 58.4%)
CIE-LABlab(39.74, -33.42, 36.48)
CIE-LCHlch(39.74, 49.47, 132.50°)
OKLaboklab(46.94% -0.0923 0.083)
OKLCHoklch(46.94% 0.124 138)
XYZxyz(6.7286, 11.0952, 2.8854)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A1C #531C6A
analogous
#5A6A1C #336A1C #1C6A2C
triadic
#336A1C #1C336A #6A1C33
tetradic
#336A1C #1C5A6A #531C6A #6A2C1C
square
#336A1C #1C5A6A #531C6A #6A2C1C
split-complementary
#336A1C #2C1C6A #6A1C5A
monochromatic
#0C1806 #1C3A0F #336A1C #4A9A29 #62CA36

Accessibility & contrast

On white

6.52
#336A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#336A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A1C
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A1C#FFFFFF#000000##FFFFFF
##336A1C1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6110
Deuteranopia (green-blind)
#665C23
Tritanopia (blue-blind)
#2F665A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336a1c;
/* rgb */ color: rgb(51, 106, 28);
/* oklch */ color: oklch(46.9% 0.124 138.0);
Tailwind
colors: {
  custom: {
    50: '#71955d',
    500: '#336a1c',
    950: '#000000',
  },
}
SCSS
$custom: #336a1c;
$custom-light: #71955d;
$custom-dark: #000000;
JSON
{
  "hex": "#336a1c",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 28
  },
  "hsl": {
    "h": 102.308,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46937,
    "c": 0.12412,
    "h": 138
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

primary
#336A1C
secondary
#84439F
accent
#46E1B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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