#336B2A#336B2A

#336B2A is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.4% C 0.114 H 141.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#336B2A
RGBrgb(51, 107, 42)
HSLhsl(112, 44%, 29%)
HSVhsv(112, 61%, 42%)
CMYKcmyk(52.3%, 0%, 60.7%, 58%)
CIE-LABlab(40.22, -32.35, 30.36)
CIE-LCHlch(40.22, 44.37, 136.82°)
OKLaboklab(47.38% -0.0884 0.0717)
OKLCHoklch(47.38% 0.114 141)
XYZxyz(7.0405, 11.3858, 4.0167)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B2A #622A6B
analogous
#546B2A #336B2A #2A6B42
triadic
#336B2A #2A336B #6B2A33
tetradic
#336B2A #2A546B #622A6B #6B422A
square
#336B2A #2A546B #622A6B #6B422A
split-complementary
#336B2A #422A6B #6B2A54
monochromatic
#0A1609 #1E3F19 #336B2A #48973B #62BC54

Accessibility & contrast

On white

6.41
#336B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#336B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B2A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B2A#FFFFFF#000000##FFFFFF
##336B2A1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6223
Deuteranopia (green-blind)
#665D2F
Tritanopia (blue-blind)
#2D685D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336b2a;
/* rgb */ color: rgb(51, 107, 42);
/* oklch */ color: oklch(47.4% 0.114 141.0);
Tailwind
colors: {
  custom: {
    50: '#709666',
    500: '#336b2a',
    950: '#000000',
  },
}
SCSS
$custom: #336b2a;
$custom-light: #709666;
$custom-dark: #000000;
JSON
{
  "hex": "#336b2a",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 42
  },
  "hsl": {
    "h": 111.692,
    "s": 43.624,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47378,
    "c": 0.11383,
    "h": 141
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

primary
#336B2A
secondary
#93549D
accent
#54D3C2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #336B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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