#336A2A#336A2A

#336A2A is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.1% C 0.112 H 140.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#336A2A
RGBrgb(51, 106, 42)
HSLhsl(112, 43%, 29%)
HSVhsv(112, 60%, 42%)
CMYKcmyk(51.9%, 0%, 60.4%, 58.4%)
CIE-LABlab(39.88, -31.91, 29.96)
CIE-LCHlch(39.88, 43.77, 136.81°)
OKLaboklab(47.1% -0.0872 0.0708)
OKLCHoklch(47.1% 0.112 140.9)
XYZxyz(6.9369, 11.1785, 3.9822)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A2A #612A6A
analogous
#536A2A #336A2A #2A6A41
triadic
#336A2A #2A336A #6A2A33
tetradic
#336A2A #2A536A #612A6A #6A412A
square
#336A2A #2A536A #612A6A #6A412A
split-complementary
#336A2A #412A6A #6A2A53
monochromatic
#0B1609 #1E3E19 #336A2A #48963B #62BB53

Accessibility & contrast

On white

6.49
#336A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#336A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A2A
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A2A#FFFFFF#000000##FFFFFF
##336A2A1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6124
Deuteranopia (green-blind)
#655C2F
Tritanopia (blue-blind)
#2D675C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336a2a;
/* rgb */ color: rgb(51, 106, 42);
/* oklch */ color: oklch(47.1% 0.112 140.9);
Tailwind
colors: {
  custom: {
    50: '#709566',
    500: '#336a2a',
    950: '#000000',
  },
}
SCSS
$custom: #336a2a;
$custom-light: #709566;
$custom-dark: #000000;
JSON
{
  "hex": "#336a2a",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 42
  },
  "hsl": {
    "h": 111.563,
    "s": 43.243,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47096,
    "c": 0.11234,
    "h": 140.9
  },
  "luminance": 0.11179
}

Semantic roles & 50–950 ramp

primary
#336A2A
secondary
#92549C
accent
#55D3C1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #336A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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