#336819#336819

#336819 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.3% C 0.123 H 137.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#336819
RGBrgb(51, 104, 25)
HSLhsl(100, 61%, 25%)
HSVhsv(100, 76%, 41%)
CMYKcmyk(51%, 0%, 76%, 59.2%)
CIE-LABlab(39.03, -32.81, 37.00)
CIE-LCHlch(39.03, 49.45, 131.56°)
OKLaboklab(46.34% -0.0909 0.0836)
OKLCHoklch(46.34% 0.124 137.4)
XYZxyz(6.4908, 10.6742, 2.6378)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336819 #4E1968
analogous
#5A6819 #336819 #196826
triadic
#336819 #193368 #681933
tetradic
#336819 #195A68 #4E1968 #682619
square
#336819 #195A68 #4E1968 #682619
split-complementary
#336819 #261968 #68195A
monochromatic
#0C1906 #1B370D #336819 #4B9925 #63CB31

Accessibility & contrast

On white

6.70
#336819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#336819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336819
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336819#FFFFFF#000000##FFFFFF
##3368191.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0B
Deuteranopia (green-blind)
#655A21
Tritanopia (blue-blind)
#306459
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #336819;
/* rgb */ color: rgb(51, 104, 25);
/* oklch */ color: oklch(46.3% 0.123 137.4);
Tailwind
colors: {
  custom: {
    50: '#70935b',
    500: '#336819',
    950: '#000000',
  },
}
SCSS
$custom: #336819;
$custom-light: #70935b;
$custom-dark: #000000;
JSON
{
  "hex": "#336819",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 100.253,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46342,
    "c": 0.1235,
    "h": 137.4
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

primary
#336819
secondary
#7F3F9E
accent
#43E4AF
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336819

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

Preview Lab → · Contrast checker → · Palette generator →

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