#336B19#336B19

#336B19 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.2% C 0.128 H 137.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#336B19
RGBrgb(51, 107, 25)
HSLhsl(101, 62%, 26%)
HSVhsv(101, 77%, 42%)
CMYKcmyk(52.3%, 0%, 76.6%, 58%)
CIE-LABlab(40.06, -34.10, 38.05)
CIE-LCHlch(40.06, 51.09, 131.87°)
OKLaboklab(47.2% -0.0944 0.0858)
OKLCHoklch(47.2% 0.128 137.7)
XYZxyz(6.7982, 11.2889, 2.7403)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B19 #51196B
analogous
#5C6B19 #336B19 #196B28
triadic
#336B19 #19336B #6B1933
tetradic
#336B19 #195C6B #51196B #6B2819
square
#336B19 #195C6B #51196B #6B2819
split-complementary
#336B19 #28196B #6B195C
monochromatic
#0C1906 #1B390D #336B19 #4B9D25 #62CE30

Accessibility & contrast

On white

6.45
#336B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#336B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B19
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B19#FFFFFF#000000##FFFFFF
##336B191.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F610A
Deuteranopia (green-blind)
#675D21
Tritanopia (blue-blind)
#2F675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336b19;
/* rgb */ color: rgb(51, 107, 25);
/* oklch */ color: oklch(47.2% 0.128 137.7);
Tailwind
colors: {
  custom: {
    50: '#71965c',
    500: '#336b19',
    950: '#000000',
  },
}
SCSS
$custom: #336b19;
$custom-light: #71965c;
$custom-dark: #000000;
JSON
{
  "hex": "#336b19",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 25
  },
  "hsl": {
    "h": 100.976,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47195,
    "c": 0.12755,
    "h": 137.7
  },
  "luminance": 0.11289
}

Semantic roles & 50–950 ramp

primary
#336B19
secondary
#823FA1
accent
#43E5B2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336B19

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

Preview Lab → · Contrast checker → · Palette generator →

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