#336614#336614

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

Color values

HEX#336614
RGBrgb(51, 102, 20)
HSLhsl(97, 67%, 24%)
HSVhsv(97, 80%, 40%)
CMYKcmyk(50%, 0%, 80.4%, 60%)
CIE-LABlab(38.30, -32.31, 38.23)
CIE-LCHlch(38.30, 50.06, 130.20°)
OKLaboklab(45.73% -0.0899 0.0854)
OKLCHoklch(45.73% 0.124 136.5)
XYZxyz(6.2427, 10.2566, 2.3125)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336614 #471466
analogous
#5C6614 #336614 #14661E
triadic
#336614 #143366 #661433
tetradic
#336614 #145C66 #471466 #661E14
square
#336614 #145C66 #471466 #661E14
split-complementary
#336614 #1E1466 #66145C
monochromatic
#0D1A05 #19330A #336614 #4D991E #66CC28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336614#FFFFFF#000000##FFFFFF
##3366141.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)
#6A5D03
Deuteranopia (green-blind)
#63591D
Tritanopia (blue-blind)
#306256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #336614;
/* rgb */ color: rgb(51, 102, 20);
/* oklch */ color: oklch(45.7% 0.124 136.5);
Tailwind
colors: {
  custom: {
    50: '#709258',
    500: '#336614',
    950: '#000000',
  },
}
SCSS
$custom: #336614;
$custom-light: #709258;
$custom-dark: #000000;
JSON
{
  "hex": "#336614",
  "rgb": {
    "r": 51,
    "g": 102,
    "b": 20
  },
  "hsl": {
    "h": 97.317,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.124,
    "h": 136.5
  },
  "luminance": 0.10257
}

Semantic roles & 50–950 ramp

primary
#336614
secondary
#77399D
accent
#3EEAA9
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336614

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

Preview Lab → · Contrast checker → · Palette generator →

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