#336D19#336D19

#336D19 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.8% C 0.130 H 137.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#336D19
RGBrgb(51, 109, 25)
HSLhsl(101, 63%, 26%)
HSVhsv(101, 77%, 43%)
CMYKcmyk(53.2%, 0%, 77.1%, 57.3%)
CIE-LABlab(40.75, -34.95, 38.74)
CIE-LCHlch(40.75, 52.18, 132.05°)
OKLaboklab(47.76% -0.0966 0.0873)
OKLCHoklch(47.76% 0.13 137.9)
XYZxyz(7.0091, 11.7108, 2.8106)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D19 #53196D
analogous
#5D6D19 #336D19 #196D29
triadic
#336D19 #19336D #6D1933
tetradic
#336D19 #195D6D #53196D #6D2919
square
#336D19 #195D6D #53196D #6D2919
split-complementary
#336D19 #29196D #6D195D
monochromatic
#0C1906 #1C3B0E #336D19 #4A9F24 #62D031

Accessibility & contrast

On white

6.28
#336D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#336D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D19
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D19#FFFFFF#000000##FFFFFF
##336D191.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716309
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#2F695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336d19;
/* rgb */ color: rgb(51, 109, 25);
/* oklch */ color: oklch(47.8% 0.130 137.9);
Tailwind
colors: {
  custom: {
    50: '#71975c',
    500: '#336d19',
    950: '#000000',
  },
}
SCSS
$custom: #336d19;
$custom-light: #71975c;
$custom-dark: #000000;
JSON
{
  "hex": "#336d19",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 101.429,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47762,
    "c": 0.13022,
    "h": 137.9
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#336D19
secondary
#843FA2
accent
#42E6B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336D19

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

Preview Lab → · Contrast checker → · Palette generator →

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