#336F2A#336F2A

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

Color values

HEX#336F2A
RGBrgb(51, 111, 42)
HSLhsl(112, 45%, 30%)
HSVhsv(112, 62%, 44%)
CMYKcmyk(54.1%, 0%, 62.2%, 56.5%)
CIE-LABlab(41.59, -34.10, 31.94)
CIE-LCHlch(41.59, 46.73, 136.87°)
OKLaboklab(48.5% -0.0932 0.0751)
OKLCHoklch(48.5% 0.12 141.1)
XYZxyz(7.4673, 12.2393, 4.1590)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F2A #662A6F
analogous
#556F2A #336F2A #2A6F44
triadic
#336F2A #2A336F #6F2A33
tetradic
#336F2A #2A556F #662A6F #6F442A
square
#336F2A #2A556F #662A6F #6F442A
split-complementary
#336F2A #442A6F #6F2A55
monochromatic
#0A1608 #1F4319 #336F2A #479B3B #63BF55

Accessibility & contrast

On white

6.09
#336F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#336F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F2A
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F2A#FFFFFF#000000##FFFFFF
##336F2A1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726523
Deuteranopia (green-blind)
#6A602F
Tritanopia (blue-blind)
#2C6C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f2a;
/* rgb */ color: rgb(51, 111, 42);
/* oklch */ color: oklch(48.5% 0.120 141.1);
Tailwind
colors: {
  custom: {
    50: '#719966',
    500: '#336f2a',
    950: '#000000',
  },
}
SCSS
$custom: #336f2a;
$custom-light: #719966;
$custom-dark: #000000;
JSON
{
  "hex": "#336f2a",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 112.174,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.48504,
    "c": 0.11967,
    "h": 141.1
  },
  "luminance": 0.1224
}

Semantic roles & 50–950 ramp

primary
#336F2A
secondary
#9754A1
accent
#53D5C4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #336F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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