#336A1A#336A1A

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

Color values

HEX#336A1A
RGBrgb(51, 106, 26)
HSLhsl(101, 61%, 26%)
HSVhsv(101, 75%, 42%)
CMYKcmyk(51.9%, 0%, 75.5%, 58.4%)
CIE-LABlab(39.72, -33.59, 37.30)
CIE-LCHlch(39.72, 50.20, 132.00°)
OKLaboklab(46.92% -0.0929 0.0844)
OKLCHoklch(46.92% 0.126 137.7)
XYZxyz(6.7055, 11.0860, 2.7635)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A1A #511A6A
analogous
#5B6A1A #336A1A #1A6A29
triadic
#336A1A #1A336A #6A1A33
tetradic
#336A1A #1A5B6A #511A6A #6A291A
square
#336A1A #1A5B6A #511A6A #6A291A
split-complementary
#336A1A #291A6A #6A1A5B
monochromatic
#0C1906 #1B390E #336A1A #4B9B26 #62CC32

Accessibility & contrast

On white

6.53
#336A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336A1A
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A1A#FFFFFF#000000##FFFFFF
##336A1A1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #336a1a;
/* rgb */ color: rgb(51, 106, 26);
/* oklch */ color: oklch(46.9% 0.126 137.7);
Tailwind
colors: {
  custom: {
    50: '#71955c',
    500: '#336a1a',
    950: '#000000',
  },
}
SCSS
$custom: #336a1a;
$custom-light: #71955c;
$custom-dark: #000000;
JSON
{
  "hex": "#336a1a",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 26
  },
  "hsl": {
    "h": 101.25,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46919,
    "c": 0.12553,
    "h": 137.7
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#336A1A
secondary
#82409F
accent
#44E4B2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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