#336F1A#336F1A

#336F1A is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.132 H 138.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#336F1A
RGBrgb(51, 111, 26)
HSLhsl(102, 62%, 27%)
HSVhsv(102, 77%, 44%)
CMYKcmyk(54.1%, 0%, 76.6%, 56.5%)
CIE-LABlab(41.45, -35.71, 39.05)
CIE-LCHlch(41.45, 52.91, 132.45°)
OKLaboklab(48.34% -0.0986 0.0881)
OKLCHoklch(48.34% 0.132 138.2)
XYZxyz(7.2359, 12.1467, 2.9403)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F1A #561A6F
analogous
#5E6F1A #336F1A #1A6F2C
triadic
#336F1A #1A336F #6F1A33
tetradic
#336F1A #1A5E6F #561A6F #6F2C1A
square
#336F1A #1A5E6F #561A6F #6F2C1A
split-complementary
#336F1A #2C1A6F #6F1A5E
monochromatic
#0B1906 #1C3D0E #336F1A #4AA126 #62CF34

Accessibility & contrast

On white

6.12
#336F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#336F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F1A
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F1A#FFFFFF#000000##FFFFFF
##336F1A1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650A
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#2E6B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f1a;
/* rgb */ color: rgb(51, 111, 26);
/* oklch */ color: oklch(48.3% 0.132 138.2);
Tailwind
colors: {
  custom: {
    50: '#71995d',
    500: '#336f1a',
    950: '#000000',
  },
}
SCSS
$custom: #336f1a;
$custom-light: #71995d;
$custom-dark: #000000;
JSON
{
  "hex": "#336f1a",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 102.353,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48337,
    "c": 0.13223,
    "h": 138.2
  },
  "luminance": 0.12147
}

Semantic roles & 50–950 ramp

primary
#336F1A
secondary
#8741A4
accent
#43E5B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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