#336E1A#336E1A

#336E1A is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.1% C 0.131 H 138.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#336E1A
RGBrgb(51, 110, 26)
HSLhsl(102, 62%, 27%)
HSVhsv(102, 76%, 43%)
CMYKcmyk(53.6%, 0%, 76.4%, 56.9%)
CIE-LABlab(41.10, -35.29, 38.70)
CIE-LCHlch(41.10, 52.37, 132.36°)
OKLaboklab(48.05% -0.0975 0.0873)
OKLCHoklch(48.05% 0.131 138.2)
XYZxyz(7.1274, 11.9297, 2.9042)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E1A #551A6E
analogous
#5D6E1A #336E1A #1A6E2B
triadic
#336E1A #1A336E #6E1A33
tetradic
#336E1A #1A5D6E #551A6E #6E2B1A
square
#336E1A #1A5D6E #551A6E #6E2B1A
split-complementary
#336E1A #2B1A6E #6E1A5D
monochromatic
#0B1906 #1C3D0E #336E1A #4AA026 #62CF34

Accessibility & contrast

On white

6.20
#336E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#336E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E1A
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E1A#FFFFFF#000000##FFFFFF
##336E1A1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640B
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#2E6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e1a;
/* rgb */ color: rgb(51, 110, 26);
/* oklch */ color: oklch(48.1% 0.131 138.2);
Tailwind
colors: {
  custom: {
    50: '#71985d',
    500: '#336e1a',
    950: '#000000',
  },
}
SCSS
$custom: #336e1a;
$custom-light: #71985d;
$custom-dark: #000000;
JSON
{
  "hex": "#336e1a",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 102.143,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48054,
    "c": 0.1309,
    "h": 138.2
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#336E1A
secondary
#8641A3
accent
#43E5B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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