#336919#336919

#336919 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.6% C 0.125 H 137.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#336919
RGBrgb(51, 105, 25)
HSLhsl(101, 62%, 25%)
HSVhsv(101, 76%, 41%)
CMYKcmyk(51.4%, 0%, 76.2%, 58.8%)
CIE-LABlab(39.37, -33.24, 37.35)
CIE-LCHlch(39.37, 50.00, 131.67°)
OKLaboklab(46.63% -0.092 0.0844)
OKLCHoklch(46.63% 0.125 137.5)
XYZxyz(6.5921, 10.8767, 2.6716)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336919 #4F1969
analogous
#5B6919 #336919 #196927
triadic
#336919 #193369 #691933
tetradic
#336919 #195B69 #4F1969 #692719
square
#336919 #195B69 #4F1969 #692719
split-complementary
#336919 #271969 #69195B
monochromatic
#0C1906 #1B380D #336919 #4B9A25 #63CC31

Accessibility & contrast

On white

6.61
#336919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#336919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336919
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336919#FFFFFF#000000##FFFFFF
##3369191.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600B
Deuteranopia (green-blind)
#665B21
Tritanopia (blue-blind)
#2F6559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336919;
/* rgb */ color: rgb(51, 105, 25);
/* oklch */ color: oklch(46.6% 0.125 137.5);
Tailwind
colors: {
  custom: {
    50: '#71945b',
    500: '#336919',
    950: '#000000',
  },
}
SCSS
$custom: #336919;
$custom-light: #71945b;
$custom-dark: #000000;
JSON
{
  "hex": "#336919",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 25
  },
  "hsl": {
    "h": 100.5,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46626,
    "c": 0.12486,
    "h": 137.5
  },
  "luminance": 0.10877
}

Semantic roles & 50–950 ramp

primary
#336919
secondary
#803F9F
accent
#43E5B0
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336919

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

Preview Lab → · Contrast checker → · Palette generator →

#336919 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva