#336719#336719

#336719 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.1% C 0.122 H 137.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#336719
RGBrgb(51, 103, 25)
HSLhsl(100, 61%, 25%)
HSVhsv(100, 76%, 40%)
CMYKcmyk(50.5%, 0%, 75.7%, 59.6%)
CIE-LABlab(38.68, -32.37, 36.65)
CIE-LCHlch(38.68, 48.90, 131.45°)
OKLaboklab(46.06% -0.0897 0.0829)
OKLCHoklch(46.06% 0.122 137.3)
XYZxyz(6.3908, 10.4741, 2.6045)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336719 #4D1967
analogous
#5A6719 #336719 #196726
triadic
#336719 #193367 #671933
tetradic
#336719 #195A67 #4D1967 #672619
square
#336719 #195A67 #4D1967 #672619
split-complementary
#336719 #261967 #67195A
monochromatic
#0C1906 #1B360D #336719 #4B9825 #64C931

Accessibility & contrast

On white

6.79
#336719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#336719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336719
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336719#FFFFFF#000000##FFFFFF
##3367191.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0C
Deuteranopia (green-blind)
#645921
Tritanopia (blue-blind)
#306358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #336719;
/* rgb */ color: rgb(51, 103, 25);
/* oklch */ color: oklch(46.1% 0.122 137.3);
Tailwind
colors: {
  custom: {
    50: '#70935b',
    500: '#336719',
    950: '#000000',
  },
}
SCSS
$custom: #336719;
$custom-light: #70935b;
$custom-dark: #000000;
JSON
{
  "hex": "#336719",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 25
  },
  "hsl": {
    "h": 100,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46058,
    "c": 0.12213,
    "h": 137.3
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#336719
secondary
#7E3F9D
accent
#44E4AF
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336719

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

Preview Lab → · Contrast checker → · Palette generator →

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