#336611#336611

#336611 is a mid, vivid yellow-green. Relative luminance 0.102; OKLCH L 45.7% C 0.126 H 136.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#336611
RGBrgb(51, 102, 17)
HSLhsl(96, 71%, 23%)
HSVhsv(96, 83%, 40%)
CMYKcmyk(50%, 0%, 83.3%, 60%)
CIE-LABlab(38.28, -32.51, 39.28)
CIE-LCHlch(38.28, 50.98, 129.61°)
OKLaboklab(45.71% -0.0906 0.0871)
OKLCHoklch(45.71% 0.126 136.1)
XYZxyz(6.2176, 10.2466, 2.1804)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336611 #441166
analogous
#5D6611 #336611 #116619
triadic
#336611 #113366 #661133
tetradic
#336611 #115D66 #441166 #661911
square
#336611 #115D66 #441166 #661911
split-complementary
#336611 #191166 #66115D
monochromatic
#0D1A04 #193208 #336611 #4D9A1A #67CF22

Accessibility & contrast

On white

6.89
#336611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336611
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336611#FFFFFF#000000##FFFFFF
##3366111.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#316256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #336611;
/* rgb */ color: rgb(51, 102, 17);
/* oklch */ color: oklch(45.7% 0.126 136.1);
Tailwind
colors: {
  custom: {
    50: '#709257',
    500: '#336611',
    950: '#000000',
  },
}
SCSS
$custom: #336611;
$custom-light: #709257;
$custom-dark: #000000;
JSON
{
  "hex": "#336611",
  "rgb": {
    "r": 51,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 96,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45714,
    "c": 0.12571,
    "h": 136.1
  },
  "luminance": 0.10247
}

Semantic roles & 50–950 ramp

primary
#336611
secondary
#74359E
accent
#3AEEA6
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #336611

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

Preview Lab → · Contrast checker → · Palette generator →

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