#336316#336316

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

Color values

HEX#336316
RGBrgb(51, 99, 22)
HSLhsl(97, 64%, 24%)
HSVhsv(97, 78%, 39%)
CMYKcmyk(48.5%, 0%, 77.8%, 61.2%)
CIE-LABlab(37.27, -30.84, 36.45)
CIE-LCHlch(37.27, 47.75, 130.24°)
OKLaboklab(44.89% -0.0858 0.082)
OKLCHoklch(44.89% 0.119 136.3)
XYZxyz(5.9717, 9.6850, 2.3136)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336316 #461663
analogous
#596316 #336316 #166320
triadic
#336316 #163363 #631633
tetradic
#336316 #165963 #461663 #632016
square
#336316 #165963 #461663 #632016
split-complementary
#336316 #201663 #631659
monochromatic
#0D1906 #19310B #336316 #4D9521 #67C72C

Accessibility & contrast

On white

7.15
#336316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #336316
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336316#FFFFFF#000000##FFFFFF
##3363161.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A08
Deuteranopia (green-blind)
#60561E
Tritanopia (blue-blind)
#315F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336316;
/* rgb */ color: rgb(51, 99, 22);
/* oklch */ color: oklch(44.9% 0.119 136.3);
Tailwind
colors: {
  custom: {
    50: '#709059',
    500: '#336316',
    950: '#000000',
  },
}
SCSS
$custom: #336316;
$custom-light: #709059;
$custom-dark: #000000;
JSON
{
  "hex": "#336316",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 97.403,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44894,
    "c": 0.11868,
    "h": 136.3
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#336316
secondary
#763B9A
accent
#41E7A8
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #336316

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

Preview Lab → · Contrast checker → · Palette generator →

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