#336E20#336E20

#336E20 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.127 H 139.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#336E20
RGBrgb(51, 110, 32)
HSLhsl(105, 55%, 28%)
HSVhsv(105, 71%, 43%)
CMYKcmyk(53.6%, 0%, 70.9%, 56.9%)
CIE-LABlab(41.15, -34.77, 36.21)
CIE-LCHlch(41.15, 50.20, 133.83°)
OKLaboklab(48.11% -0.0957 0.083)
OKLCHoklch(48.11% 0.127 139.1)
XYZxyz(7.2016, 11.9594, 3.2951)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E20 #5B206E
analogous
#5A6E20 #336E20 #206E34
triadic
#336E20 #20336E #6E2033
tetradic
#336E20 #205A6E #5B206E #6E3420
square
#336E20 #205A6E #5B206E #6E3420
split-complementary
#336E20 #34206E #6E205A
monochromatic
#0B1807 #1D3F12 #336E20 #499D2E #62C841

Accessibility & contrast

On white

6.19
#336E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336E20
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E20#FFFFFF#000000##FFFFFF
##336E201.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#2E6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e20;
/* rgb */ color: rgb(51, 110, 32);
/* oklch */ color: oklch(48.1% 0.127 139.1);
Tailwind
colors: {
  custom: {
    50: '#719860',
    500: '#336e20',
    950: '#000000',
  },
}
SCSS
$custom: #336e20;
$custom-light: #719860;
$custom-dark: #000000;
JSON
{
  "hex": "#336e20",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 105.385,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48108,
    "c": 0.12664,
    "h": 139.1
  },
  "luminance": 0.1196
}

Semantic roles & 50–950 ramp

primary
#336E20
secondary
#8C48A2
accent
#4ADEBA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #336E20

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

Preview Lab → · Contrast checker → · Palette generator →

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