#336A20#336A20

#336A20 is a mid, vivid green. Relative luminance 0.111; OKLCH L 47.0% C 0.121 H 138.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#336A20
RGBrgb(51, 106, 32)
HSLhsl(105, 54%, 27%)
HSVhsv(105, 70%, 42%)
CMYKcmyk(51.9%, 0%, 69.8%, 58.4%)
CIE-LABlab(39.77, -33.05, 34.74)
CIE-LCHlch(39.77, 47.95, 133.57°)
OKLaboklab(46.98% -0.091 0.0799)
OKLCHoklch(46.98% 0.121 138.7)
XYZxyz(6.7797, 11.1157, 3.1545)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A20 #57206A
analogous
#586A20 #336A20 #206A32
triadic
#336A20 #20336A #6A2033
tetradic
#336A20 #20586A #57206A #6A3220
square
#336A20 #20586A #57206A #6A3220
split-complementary
#336A20 #32206A #6A2058
monochromatic
#0B1807 #1C3B12 #336A20 #4A992E #62C53F

Accessibility & contrast

On white

6.52
#336A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#336A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A20
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A20#FFFFFF#000000##FFFFFF
##336A201.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6116
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#2F665B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336a20;
/* rgb */ color: rgb(51, 106, 32);
/* oklch */ color: oklch(47.0% 0.121 138.7);
Tailwind
colors: {
  custom: {
    50: '#70955f',
    500: '#336a20',
    950: '#000000',
  },
}
SCSS
$custom: #336a20;
$custom-light: #70955f;
$custom-dark: #000000;
JSON
{
  "hex": "#336a20",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 32
  },
  "hsl": {
    "h": 104.595,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46976,
    "c": 0.12109,
    "h": 138.7
  },
  "luminance": 0.11116
}

Semantic roles & 50–950 ramp

primary
#336A20
secondary
#88489E
accent
#4BDDB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #336A20

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

Preview Lab → · Contrast checker → · Palette generator →

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