#336E17#336E17

#336E17 is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.133 H 137.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#336E17
RGBrgb(51, 110, 23)
HSLhsl(101, 65%, 26%)
HSVhsv(101, 79%, 43%)
CMYKcmyk(53.6%, 0%, 79.1%, 56.9%)
CIE-LABlab(41.08, -35.52, 39.83)
CIE-LCHlch(41.08, 53.37, 131.72°)
OKLaboklab(48.03% -0.0983 0.0893)
OKLCHoklch(48.03% 0.133 137.8)
XYZxyz(7.0956, 11.9170, 2.7368)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E17 #52176E
analogous
#5E6E17 #336E17 #176E26
triadic
#336E17 #17336E #6E1733
tetradic
#336E17 #175E6E #52176E #6E2617
square
#336E17 #175E6E #52176E #6E2617
split-complementary
#336E17 #26176E #6E175E
monochromatic
#0C1905 #1C3B0C #336E17 #4AA122 #62D32C

Accessibility & contrast

On white

6.21
#336E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#336E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E17
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E17#FFFFFF#000000##FFFFFF
##336E171.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#2F6A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e17;
/* rgb */ color: rgb(51, 110, 23);
/* oklch */ color: oklch(48.0% 0.133 137.8);
Tailwind
colors: {
  custom: {
    50: '#71985b',
    500: '#336e17',
    950: '#000000',
  },
}
SCSS
$custom: #336e17;
$custom-light: #71985b;
$custom-dark: #000000;
JSON
{
  "hex": "#336e17",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 100.69,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.13279,
    "h": 137.8
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#336E17
secondary
#833DA4
accent
#3FE8B2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336E17

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

Preview Lab → · Contrast checker → · Palette generator →

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