#336016#336016

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

Color values

HEX#336016
RGBrgb(51, 96, 22)
HSLhsl(96, 63%, 23%)
HSVhsv(96, 77%, 38%)
CMYKcmyk(46.9%, 0%, 77.1%, 62.4%)
CIE-LABlab(36.23, -29.49, 35.41)
CIE-LCHlch(36.23, 46.08, 129.79°)
OKLaboklab(44.04% -0.0821 0.0798)
OKLCHoklch(44.04% 0.115 135.8)
XYZxyz(5.6928, 9.1271, 2.2206)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336016 #431660
analogous
#586016 #336016 #16601E
triadic
#336016 #163360 #601633
tetradic
#336016 #165860 #431660 #601E16
square
#336016 #165860 #431660 #601E16
split-complementary
#336016 #1E1660 #601658
monochromatic
#0D1906 #192E0B #336016 #4D9221 #68C42D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336016#FFFFFF#000000##FFFFFF
##3360161.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)
#645809
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#315C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #336016;
/* rgb */ color: rgb(51, 96, 22);
/* oklch */ color: oklch(44.0% 0.115 135.8);
Tailwind
colors: {
  custom: {
    50: '#6f8d59',
    500: '#336016',
    950: '#000000',
  },
}
SCSS
$custom: #336016;
$custom-light: #6f8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#336016",
  "rgb": {
    "r": 51,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 96.486,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44038,
    "c": 0.11453,
    "h": 135.8
  },
  "luminance": 0.09127
}

Semantic roles & 50–950 ramp

primary
#336016
secondary
#733B97
accent
#42E6A6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #336016

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

Preview Lab → · Contrast checker → · Palette generator →

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