#336616#336616

#336616 is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.7% C 0.123 H 136.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#336616
RGBrgb(51, 102, 22)
HSLhsl(98, 65%, 24%)
HSVhsv(98, 78%, 40%)
CMYKcmyk(50%, 0%, 78.4%, 60%)
CIE-LABlab(38.31, -32.17, 37.49)
CIE-LCHlch(38.31, 49.40, 130.64°)
OKLaboklab(45.75% -0.0894 0.0842)
OKLCHoklch(45.75% 0.123 136.7)
XYZxyz(6.2612, 10.2641, 2.4101)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336616 #491666
analogous
#5B6616 #336616 #166621
triadic
#336616 #163366 #661633
tetradic
#336616 #165B66 #491666 #662116
square
#336616 #165B66 #491666 #662116
split-complementary
#336616 #211666 #66165B
monochromatic
#0D1905 #1A340B #336616 #4C9821 #65CB2C

Accessibility & contrast

On white

6.88
#336616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#336616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336616
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336616#FFFFFF#000000##FFFFFF
##3366161.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D06
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#306257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #336616;
/* rgb */ color: rgb(51, 102, 22);
/* oklch */ color: oklch(45.7% 0.123 136.7);
Tailwind
colors: {
  custom: {
    50: '#709259',
    500: '#336616',
    950: '#000000',
  },
}
SCSS
$custom: #336616;
$custom-light: #709259;
$custom-dark: #000000;
JSON
{
  "hex": "#336616",
  "rgb": {
    "r": 51,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 98.25,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45749,
    "c": 0.12277,
    "h": 136.7
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#336616
secondary
#793B9D
accent
#40E8AB
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336616

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

Preview Lab → · Contrast checker → · Palette generator →

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