#336D1A#336D1A

#336D1A is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.8% C 0.130 H 138.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#336D1A
RGBrgb(51, 109, 26)
HSLhsl(102, 61%, 26%)
HSVhsv(102, 76%, 43%)
CMYKcmyk(53.2%, 0%, 76.1%, 57.3%)
CIE-LABlab(40.76, -34.87, 38.35)
CIE-LCHlch(40.76, 51.83, 132.28°)
OKLaboklab(47.77% -0.0964 0.0866)
OKLCHoklch(47.77% 0.13 138.1)
XYZxyz(7.0201, 11.7152, 2.8684)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D1A #541A6D
analogous
#5D6D1A #336D1A #1A6D2B
triadic
#336D1A #1A336D #6D1A33
tetradic
#336D1A #1A5D6D #541A6D #6D2B1A
square
#336D1A #1A5D6D #541A6D #6D2B1A
split-complementary
#336D1A #2B1A6D #6D1A5D
monochromatic
#0C1906 #1C3C0E #336D1A #4A9E26 #62CE33

Accessibility & contrast

On white

6.28
#336D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#336D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D1A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D1A#FFFFFF#000000##FFFFFF
##336D1A1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71630B
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#2F695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336d1a;
/* rgb */ color: rgb(51, 109, 26);
/* oklch */ color: oklch(47.8% 0.130 138.1);
Tailwind
colors: {
  custom: {
    50: '#71975c',
    500: '#336d1a',
    950: '#000000',
  },
}
SCSS
$custom: #336d1a;
$custom-light: #71975c;
$custom-dark: #000000;
JSON
{
  "hex": "#336d1a",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 101.928,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4777,
    "c": 0.12957,
    "h": 138.1
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#336D1A
secondary
#8541A2
accent
#43E5B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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