#336019#336019

#336019 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.1% C 0.112 H 136.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#336019
RGBrgb(51, 96, 25)
HSLhsl(98, 59%, 24%)
HSVhsv(98, 74%, 38%)
CMYKcmyk(46.9%, 0%, 74%, 62.4%)
CIE-LABlab(36.25, -29.24, 34.15)
CIE-LCHlch(36.25, 44.96, 130.57°)
OKLaboklab(44.06% -0.0812 0.0777)
OKLCHoklch(44.06% 0.112 136.3)
XYZxyz(5.7234, 9.1394, 2.3820)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336019 #461960
analogous
#566019 #336019 #196022
triadic
#336019 #193360 #601933
tetradic
#336019 #195660 #461960 #602219
square
#336019 #195660 #461960 #602219
split-complementary
#336019 #221960 #601956
monochromatic
#0D1806 #192F0C #336019 #4D9126 #67C132

Accessibility & contrast

On white

7.43
#336019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#336019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336019
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336019#FFFFFF#000000##FFFFFF
##3360191.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580E
Deuteranopia (green-blind)
#5D541F
Tritanopia (blue-blind)
#315C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #336019;
/* rgb */ color: rgb(51, 96, 25);
/* oklch */ color: oklch(44.1% 0.112 136.3);
Tailwind
colors: {
  custom: {
    50: '#6f8d5a',
    500: '#336019',
    950: '#000000',
  },
}
SCSS
$custom: #336019;
$custom-light: #6f8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#336019",
  "rgb": {
    "r": 51,
    "g": 96,
    "b": 25
  },
  "hsl": {
    "h": 98.028,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44064,
    "c": 0.11238,
    "h": 136.3
  },
  "luminance": 0.0914
}

Semantic roles & 50–950 ramp

primary
#336019
secondary
#763F96
accent
#46E2A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #336019

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

Preview Lab → · Contrast checker → · Palette generator →

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