#336A2B#336A2B

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

Color values

HEX#336A2B
RGBrgb(51, 106, 43)
HSLhsl(112, 42%, 29%)
HSVhsv(112, 59%, 42%)
CMYKcmyk(51.9%, 0%, 59.4%, 58.4%)
CIE-LABlab(39.89, -31.78, 29.45)
CIE-LCHlch(39.89, 43.33, 137.18°)
OKLaboklab(47.11% -0.0868 0.0698)
OKLCHoklch(47.11% 0.111 141.2)
XYZxyz(6.9550, 11.1858, 4.0776)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A2B #622B6A
analogous
#536A2B #336A2B #2B6A43
triadic
#336A2B #2B336A #6A2B33
tetradic
#336A2B #2B536A #622B6A #6A432B
square
#336A2B #2B536A #622B6A #6A432B
split-complementary
#336A2B #432B6A #6A2B53
monochromatic
#0A1609 #1E3E19 #336A2B #48963D #62BA55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336A2B#FFFFFF#000000##FFFFFF
##336A2B1.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)
#6D6125
Deuteranopia (green-blind)
#655C30
Tritanopia (blue-blind)
#2D675C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336a2b;
/* rgb */ color: rgb(51, 106, 43);
/* oklch */ color: oklch(47.1% 0.111 141.2);
Tailwind
colors: {
  custom: {
    50: '#709566',
    500: '#336a2b',
    950: '#000000',
  },
}
SCSS
$custom: #336a2b;
$custom-light: #709566;
$custom-dark: #000000;
JSON
{
  "hex": "#336a2b",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 43
  },
  "hsl": {
    "h": 112.381,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4711,
    "c": 0.11139,
    "h": 141.2
  },
  "luminance": 0.11186
}

Semantic roles & 50–950 ramp

primary
#336A2B
secondary
#93559C
accent
#56D2C2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #336A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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