#336C1A#336C1A

#336C1A is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.5% C 0.128 H 138.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#336C1A
RGBrgb(51, 108, 26)
HSLhsl(102, 61%, 26%)
HSVhsv(102, 76%, 42%)
CMYKcmyk(52.8%, 0%, 75.9%, 57.6%)
CIE-LABlab(40.42, -34.45, 38.00)
CIE-LCHlch(40.42, 51.29, 132.19°)
OKLaboklab(47.49% -0.0952 0.0859)
OKLCHoklch(47.49% 0.128 138)
XYZxyz(6.9140, 11.5030, 2.8331)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C1A #531A6C
analogous
#5C6C1A #336C1A #1A6C2A
triadic
#336C1A #1A336C #6C1A33
tetradic
#336C1A #1A5C6C #531A6C #6C2A1A
square
#336C1A #1A5C6C #531A6C #6C2A1A
split-complementary
#336C1A #2A1A6C #6C1A5C
monochromatic
#0C1906 #1C3B0E #336C1A #4A9D26 #62CE33

Accessibility & contrast

On white

6.36
#336C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#336C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336C1A
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C1A#FFFFFF#000000##FFFFFF
##336C1A1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70620C
Deuteranopia (green-blind)
#685D22
Tritanopia (blue-blind)
#2F685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336c1a;
/* rgb */ color: rgb(51, 108, 26);
/* oklch */ color: oklch(47.5% 0.128 138.0);
Tailwind
colors: {
  custom: {
    50: '#71975c',
    500: '#336c1a',
    950: '#000000',
  },
}
SCSS
$custom: #336c1a;
$custom-light: #71975c;
$custom-dark: #000000;
JSON
{
  "hex": "#336c1a",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 26
  },
  "hsl": {
    "h": 101.707,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.12823,
    "h": 138
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

primary
#336C1A
secondary
#8441A1
accent
#43E4B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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