#336319#336319

#336319 is a dark, moderate yellow-green. Relative luminance 0.097; OKLCH L 44.9% C 0.117 H 136.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#336319
RGBrgb(51, 99, 25)
HSLhsl(99, 60%, 24%)
HSVhsv(99, 75%, 39%)
CMYKcmyk(48.5%, 0%, 74.7%, 61.2%)
CIE-LABlab(37.29, -30.60, 35.23)
CIE-LCHlch(37.29, 46.67, 130.98°)
OKLaboklab(44.92% -0.0849 0.0799)
OKLCHoklch(44.92% 0.117 136.7)
XYZxyz(6.0024, 9.6973, 2.4750)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336319 #491963
analogous
#586319 #336319 #196324
triadic
#336319 #193363 #631933
tetradic
#336319 #195863 #491963 #632419
square
#336319 #195863 #491963 #632419
split-complementary
#336319 #241963 #631958
monochromatic
#0D1806 #1A320D #336319 #4C9425 #65C532

Accessibility & contrast

On white

7.14
#336319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#336319 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336319
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336319#FFFFFF#000000##FFFFFF
##3363191.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A0D
Deuteranopia (green-blind)
#605620
Tritanopia (blue-blind)
#315F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336319;
/* rgb */ color: rgb(51, 99, 25);
/* oklch */ color: oklch(44.9% 0.117 136.7);
Tailwind
colors: {
  custom: {
    50: '#70905b',
    500: '#336319',
    950: '#000000',
  },
}
SCSS
$custom: #336319;
$custom-light: #70905b;
$custom-dark: #000000;
JSON
{
  "hex": "#336319",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 25
  },
  "hsl": {
    "h": 98.919,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44919,
    "c": 0.11661,
    "h": 136.7
  },
  "luminance": 0.09698
}

Semantic roles & 50–950 ramp

primary
#336319
secondary
#793F99
accent
#45E3AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #336319

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

Preview Lab → · Contrast checker → · Palette generator →

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