#336519#336519

#336519 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.5% C 0.119 H 137.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#336519
RGBrgb(51, 101, 25)
HSLhsl(99, 60%, 25%)
HSVhsv(99, 75%, 40%)
CMYKcmyk(49.5%, 0%, 75.2%, 60.4%)
CIE-LABlab(37.99, -31.49, 35.94)
CIE-LCHlch(37.99, 47.79, 131.22°)
OKLaboklab(45.49% -0.0873 0.0814)
OKLCHoklch(45.49% 0.119 137)
XYZxyz(6.1942, 10.0810, 2.5389)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336519 #4B1965
analogous
#596519 #336519 #196525
triadic
#336519 #193365 #651933
tetradic
#336519 #195965 #4B1965 #652519
square
#336519 #195965 #4B1965 #652519
split-complementary
#336519 #251965 #651959
monochromatic
#0C1906 #1A340D #336519 #4C9625 #65C731

Accessibility & contrast

On white

6.96
#336519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#336519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336519
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336519#FFFFFF#000000##FFFFFF
##3365191.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0C
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#306156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #336519;
/* rgb */ color: rgb(51, 101, 25);
/* oklch */ color: oklch(45.5% 0.119 137.0);
Tailwind
colors: {
  custom: {
    50: '#70915b',
    500: '#336519',
    950: '#000000',
  },
}
SCSS
$custom: #336519;
$custom-light: #70915b;
$custom-dark: #000000;
JSON
{
  "hex": "#336519",
  "rgb": {
    "r": 51,
    "g": 101,
    "b": 25
  },
  "hsl": {
    "h": 99.474,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45489,
    "c": 0.11938,
    "h": 137
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

primary
#336519
secondary
#7B3F9B
accent
#44E3AD
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D04
muted
#7B7D79

Preview Lab

Preview with #336519

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

Preview Lab → · Contrast checker → · Palette generator →

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