#336B1B#336B1B

#336B1B is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.2% C 0.126 H 138.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#336B1B
RGBrgb(51, 107, 27)
HSLhsl(102, 60%, 26%)
HSVhsv(102, 75%, 42%)
CMYKcmyk(52.3%, 0%, 74.8%, 58%)
CIE-LABlab(40.08, -33.94, 37.25)
CIE-LCHlch(40.08, 50.39, 132.34°)
OKLaboklab(47.21% -0.0938 0.0845)
OKLCHoklch(47.21% 0.126 138)
XYZxyz(6.8205, 11.2978, 2.8580)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B1B #531B6B
analogous
#5B6B1B #336B1B #1B6B2B
triadic
#336B1B #1B336B #6B1B33
tetradic
#336B1B #1B5B6B #531B6B #6B2B1B
square
#336B1B #1B5B6B #531B6B #6B2B1B
split-complementary
#336B1B #2B1B6B #6B1B5B
monochromatic
#0C1806 #1C3A0F #336B1B #4A9C27 #62CC35

Accessibility & contrast

On white

6.44
#336B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#336B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B1B
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B1B#FFFFFF#000000##FFFFFF
##336B1B1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F610E
Deuteranopia (green-blind)
#675D23
Tritanopia (blue-blind)
#2F675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336b1b;
/* rgb */ color: rgb(51, 107, 27);
/* oklch */ color: oklch(47.2% 0.126 138.0);
Tailwind
colors: {
  custom: {
    50: '#71965d',
    500: '#336b1b',
    950: '#000000',
  },
}
SCSS
$custom: #336b1b;
$custom-light: #71965d;
$custom-dark: #000000;
JSON
{
  "hex": "#336b1b",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 27
  },
  "hsl": {
    "h": 102,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.1262,
    "h": 138
  },
  "luminance": 0.11298
}

Semantic roles & 50–950 ramp

primary
#336B1B
secondary
#8442A0
accent
#45E3B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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