#336613#336613

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

Color values

HEX#336613
RGBrgb(51, 102, 19)
HSLhsl(97, 69%, 24%)
HSVhsv(97, 81%, 40%)
CMYKcmyk(50%, 0%, 81.4%, 60%)
CIE-LABlab(38.29, -32.38, 38.59)
CIE-LCHlch(38.29, 50.38, 130.00°)
OKLaboklab(45.73% -0.0901 0.086)
OKLCHoklch(45.73% 0.125 136.3)
XYZxyz(6.2340, 10.2532, 2.2665)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336613 #461366
analogous
#5C6613 #336613 #13661C
triadic
#336613 #133366 #661333
tetradic
#336613 #135C66 #461366 #661C13
square
#336613 #135C66 #461366 #661C13
split-complementary
#336613 #1C1366 #66135C
monochromatic
#0D1A05 #193209 #336613 #4D9A1D #67CD26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336613#FFFFFF#000000##FFFFFF
##3366131.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)
#6A5D01
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#316256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #336613;
/* rgb */ color: rgb(51, 102, 19);
/* oklch */ color: oklch(45.7% 0.125 136.3);
Tailwind
colors: {
  custom: {
    50: '#709258',
    500: '#336613',
    950: '#000000',
  },
}
SCSS
$custom: #336613;
$custom-light: #709258;
$custom-dark: #000000;
JSON
{
  "hex": "#336613",
  "rgb": {
    "r": 51,
    "g": 102,
    "b": 19
  },
  "hsl": {
    "h": 96.867,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45727,
    "c": 0.12459,
    "h": 136.3
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#336613
secondary
#76379D
accent
#3CEBA8
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336613

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

Preview Lab → · Contrast checker → · Palette generator →

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