#336F2B#336F2B

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

Color values

HEX#336F2B
RGBrgb(51, 111, 43)
HSLhsl(113, 44%, 30%)
HSVhsv(113, 61%, 44%)
CMYKcmyk(54.1%, 0%, 61.3%, 56.5%)
CIE-LABlab(41.61, -33.98, 31.45)
CIE-LCHlch(41.61, 46.30, 137.21°)
OKLaboklab(48.52% -0.0928 0.0741)
OKLCHoklch(48.52% 0.119 141.4)
XYZxyz(7.4854, 12.2465, 4.2544)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F2B #672B6F
analogous
#556F2B #336F2B #2B6F45
triadic
#336F2B #2B336F #6F2B33
tetradic
#336F2B #2B556F #672B6F #6F452B
square
#336F2B #2B556F #672B6F #6F452B
split-complementary
#336F2B #452B6F #6F2B55
monochromatic
#0A1709 #1F431A #336F2B #479B3C #63BE57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336F2B#FFFFFF#000000##FFFFFF
##336F2B1.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)
#726524
Deuteranopia (green-blind)
#6A6030
Tritanopia (blue-blind)
#2C6C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f2b;
/* rgb */ color: rgb(51, 111, 43);
/* oklch */ color: oklch(48.5% 0.119 141.4);
Tailwind
colors: {
  custom: {
    50: '#719967',
    500: '#336f2b',
    950: '#000000',
  },
}
SCSS
$custom: #336f2b;
$custom-light: #719967;
$custom-dark: #000000;
JSON
{
  "hex": "#336f2b",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 43
  },
  "hsl": {
    "h": 112.941,
    "s": 44.156,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.11876,
    "h": 141.4
  },
  "luminance": 0.12247
}

Semantic roles & 50–950 ramp

primary
#336F2B
secondary
#9855A1
accent
#54D4C5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #336F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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