#336B1A#336B1A

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

Color values

HEX#336B1A
RGBrgb(51, 107, 26)
HSLhsl(101, 61%, 26%)
HSVhsv(101, 76%, 42%)
CMYKcmyk(52.3%, 0%, 75.7%, 58%)
CIE-LABlab(40.07, -34.02, 37.65)
CIE-LCHlch(40.07, 50.75, 132.10°)
OKLaboklab(47.2% -0.0941 0.0852)
OKLCHoklch(47.2% 0.127 137.8)
XYZxyz(6.8092, 11.2933, 2.7981)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B1A #521A6B
analogous
#5B6B1A #336B1A #1A6B29
triadic
#336B1A #1A336B #6B1A33
tetradic
#336B1A #1A5B6B #521A6B #6B291A
square
#336B1A #1A5B6B #521A6B #6B291A
split-complementary
#336B1A #291A6B #6B1A5B
monochromatic
#0C1906 #1C3A0E #336B1A #4A9C26 #62CD32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #336b1a;
/* rgb */ color: rgb(51, 107, 26);
/* oklch */ color: oklch(47.2% 0.127 137.8);
Tailwind
colors: {
  custom: {
    50: '#71965c',
    500: '#336b1a',
    950: '#000000',
  },
}
SCSS
$custom: #336b1a;
$custom-light: #71965c;
$custom-dark: #000000;
JSON
{
  "hex": "#336b1a",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 26
  },
  "hsl": {
    "h": 101.481,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47203,
    "c": 0.12688,
    "h": 137.8
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#336B1A
secondary
#8340A0
accent
#44E4B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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