#336E2A#336E2A

#336E2A is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.2% C 0.118 H 141.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#336E2A
RGBrgb(51, 110, 42)
HSLhsl(112, 45%, 30%)
HSVhsv(112, 62%, 43%)
CMYKcmyk(53.6%, 0%, 61.8%, 56.9%)
CIE-LABlab(41.25, -33.67, 31.55)
CIE-LCHlch(41.25, 46.14, 136.86°)
OKLaboklab(48.22% -0.092 0.0742)
OKLCHoklch(48.22% 0.118 141.1)
XYZxyz(7.3588, 12.0223, 4.1228)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E2A #652A6E
analogous
#556E2A #336E2A #2A6E43
triadic
#336E2A #2A336E #6E2A33
tetradic
#336E2A #2A556E #652A6E #6E432A
square
#336E2A #2A556E #652A6E #6E432A
split-complementary
#336E2A #432A6E #6E2A55
monochromatic
#0A1608 #1E4219 #336E2A #489A3B #62BE55

Accessibility & contrast

On white

6.17
#336E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#336E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E2A
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E2A#FFFFFF#000000##FFFFFF
##336E2A1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716423
Deuteranopia (green-blind)
#695F2F
Tritanopia (blue-blind)
#2C6B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e2a;
/* rgb */ color: rgb(51, 110, 42);
/* oklch */ color: oklch(48.2% 0.118 141.1);
Tailwind
colors: {
  custom: {
    50: '#709866',
    500: '#336e2a',
    950: '#000000',
  },
}
SCSS
$custom: #336e2a;
$custom-light: #709866;
$custom-dark: #000000;
JSON
{
  "hex": "#336e2a",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 42
  },
  "hsl": {
    "h": 112.059,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48222,
    "c": 0.11822,
    "h": 141.1
  },
  "luminance": 0.12023
}

Semantic roles & 50–950 ramp

primary
#336E2A
secondary
#9654A0
accent
#53D4C3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #336E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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