#336011#336011

#336011 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.0% C 0.118 H 135.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#336011
RGBrgb(51, 96, 17)
HSLhsl(94, 70%, 22%)
HSVhsv(94, 82%, 38%)
CMYKcmyk(46.9%, 0%, 82.3%, 62.4%)
CIE-LABlab(36.19, -29.85, 37.30)
CIE-LCHlch(36.19, 47.77, 128.67°)
OKLaboklab(44% -0.0835 0.083)
OKLCHoklch(44% 0.118 135.2)
XYZxyz(5.6492, 9.1097, 1.9909)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336011 #3E1160
analogous
#5B6011 #336011 #116016
triadic
#336011 #113360 #601133
tetradic
#336011 #115B60 #3E1160 #601611
square
#336011 #115B60 #3E1160 #601611
split-complementary
#336011 #161160 #60115B
monochromatic
#0E1A05 #172C08 #336011 #4F941A #6AC823

Accessibility & contrast

On white

7.44
#336011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#336011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336011
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336011#FFFFFF#000000##FFFFFF
##3360111.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#325C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #336011;
/* rgb */ color: rgb(51, 96, 17);
/* oklch */ color: oklch(44.0% 0.118 135.2);
Tailwind
colors: {
  custom: {
    50: '#708d56',
    500: '#336011',
    950: '#000000',
  },
}
SCSS
$custom: #336011;
$custom-light: #708d56;
$custom-dark: #000000;
JSON
{
  "hex": "#336011",
  "rgb": {
    "r": 51,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 94.177,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44,
    "c": 0.1177,
    "h": 135.2
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#336011
secondary
#6D3499
accent
#3BEDA0
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #336011

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

Preview Lab → · Contrast checker → · Palette generator →

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