#336F20#336F20

#336F20 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.128 H 139.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#336F20
RGBrgb(51, 111, 32)
HSLhsl(106, 55%, 28%)
HSVhsv(106, 71%, 44%)
CMYKcmyk(54.1%, 0%, 71.2%, 56.5%)
CIE-LABlab(41.50, -35.19, 36.58)
CIE-LCHlch(41.50, 50.76, 133.89°)
OKLaboklab(48.39% -0.0968 0.0838)
OKLCHoklch(48.39% 0.128 139.1)
XYZxyz(7.3101, 12.1764, 3.3313)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F20 #5C206F
analogous
#5A6F20 #336F20 #206F35
triadic
#336F20 #20336F #6F2033
tetradic
#336F20 #205A6F #5C206F #6F3520
square
#336F20 #205A6F #5C206F #6F3520
split-complementary
#336F20 #35206F #6F205A
monochromatic
#0B1807 #1D3F12 #336F20 #499F2E #62C841

Accessibility & contrast

On white

6.11
#336F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#336F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F20
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F20#FFFFFF#000000##FFFFFF
##336F201.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726515
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#2E6B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f20;
/* rgb */ color: rgb(51, 111, 32);
/* oklch */ color: oklch(48.4% 0.128 139.1);
Tailwind
colors: {
  custom: {
    50: '#719960',
    500: '#336f20',
    950: '#000000',
  },
}
SCSS
$custom: #336f20;
$custom-light: #719960;
$custom-dark: #000000;
JSON
{
  "hex": "#336f20",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 105.57,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48391,
    "c": 0.12801,
    "h": 139.1
  },
  "luminance": 0.12177
}

Semantic roles & 50–950 ramp

primary
#336F20
secondary
#8D48A3
accent
#49DFBB
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #336F20

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

Preview Lab → · Contrast checker → · Palette generator →

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