#336B1C#336B1C

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

Color values

HEX#336B1C
RGBrgb(51, 107, 28)
HSLhsl(103, 59%, 26%)
HSVhsv(103, 74%, 42%)
CMYKcmyk(52.3%, 0%, 73.8%, 58%)
CIE-LABlab(40.09, -33.85, 36.83)
CIE-LCHlch(40.09, 50.03, 132.58°)
OKLaboklab(47.22% -0.0935 0.0837)
OKLCHoklch(47.22% 0.125 138.1)
XYZxyz(6.8323, 11.3025, 2.9200)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B1C #541C6B
analogous
#5B6B1C #336B1C #1C6B2D
triadic
#336B1C #1C336B #6B1C33
tetradic
#336B1C #1C5B6B #541C6B #6B2D1C
square
#336B1C #1C5B6B #541C6B #6B2D1C
split-complementary
#336B1C #2D1C6B #6B1C5B
monochromatic
#0C1806 #1C3A0F #336B1C #4A9C29 #62CB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336B1C#FFFFFF#000000##FFFFFF
##336B1C1.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)
#6E6110
Deuteranopia (green-blind)
#675D23
Tritanopia (blue-blind)
#2F675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336b1c;
/* rgb */ color: rgb(51, 107, 28);
/* oklch */ color: oklch(47.2% 0.125 138.1);
Tailwind
colors: {
  custom: {
    50: '#71965d',
    500: '#336b1c',
    950: '#000000',
  },
}
SCSS
$custom: #336b1c;
$custom-light: #71965d;
$custom-dark: #000000;
JSON
{
  "hex": "#336b1c",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 28
  },
  "hsl": {
    "h": 102.532,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.12549,
    "h": 138.1
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#336B1C
secondary
#8543A0
accent
#46E2B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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