#336A1E#336A1E

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

Color values

HEX#336A1E
RGBrgb(51, 106, 30)
HSLhsl(103, 56%, 27%)
HSVhsv(103, 72%, 42%)
CMYKcmyk(51.9%, 0%, 71.7%, 58.4%)
CIE-LABlab(39.76, -33.24, 35.62)
CIE-LCHlch(39.76, 48.72, 133.02°)
OKLaboklab(46.96% -0.0917 0.0815)
OKLCHoklch(46.96% 0.123 138.4)
XYZxyz(6.7534, 11.1051, 3.0157)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A1E #551E6A
analogous
#596A1E #336A1E #1E6A2F
triadic
#336A1E #1E336A #6A1E33
tetradic
#336A1E #1E596A #551E6A #6A2F1E
square
#336A1E #1E596A #551E6A #6A2F1E
split-complementary
#336A1E #2F1E6A #6A1E59
monochromatic
#0B1807 #1C3A11 #336A1E #4A9A2C #62C73B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336A1E#FFFFFF#000000##FFFFFF
##336A1E1.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)
#6D6113
Deuteranopia (green-blind)
#665C25
Tritanopia (blue-blind)
#2F665B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336a1e;
/* rgb */ color: rgb(51, 106, 30);
/* oklch */ color: oklch(47.0% 0.123 138.4);
Tailwind
colors: {
  custom: {
    50: '#70955e',
    500: '#336a1e',
    950: '#000000',
  },
}
SCSS
$custom: #336a1e;
$custom-light: #70955e;
$custom-dark: #000000;
JSON
{
  "hex": "#336a1e",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 30
  },
  "hsl": {
    "h": 103.421,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46956,
    "c": 0.12264,
    "h": 138.4
  },
  "luminance": 0.11106
}

Semantic roles & 50–950 ramp

primary
#336A1E
secondary
#86459E
accent
#49DFB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #336A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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