#336511#336511

#336511 is a mid, vivid yellow-green. Relative luminance 0.101; OKLCH L 45.4% C 0.124 H 136.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#336511
RGBrgb(51, 101, 17)
HSLhsl(96, 71%, 23%)
HSVhsv(96, 83%, 40%)
CMYKcmyk(49.5%, 0%, 83.2%, 60.4%)
CIE-LABlab(37.93, -32.07, 38.95)
CIE-LCHlch(37.93, 50.46, 129.47°)
OKLaboklab(45.43% -0.0894 0.0864)
OKLCHoklch(45.43% 0.124 136)
XYZxyz(6.1199, 10.0512, 2.1478)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336511 #431165
analogous
#5D6511 #336511 #116519
triadic
#336511 #113365 #651133
tetradic
#336511 #115D65 #431165 #651911
square
#336511 #115D65 #431165 #651911
split-complementary
#336511 #191165 #65115D
monochromatic
#0D1A04 #193108 #336511 #4D991A #68CE23

Accessibility & contrast

On white

6.98
#336511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#336511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336511
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336511#FFFFFF#000000##FFFFFF
##3365111.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#62581A
Tritanopia (blue-blind)
#316155
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #336511;
/* rgb */ color: rgb(51, 101, 17);
/* oklch */ color: oklch(45.4% 0.124 136.0);
Tailwind
colors: {
  custom: {
    50: '#709157',
    500: '#336511',
    950: '#000000',
  },
}
SCSS
$custom: #336511;
$custom-light: #709157;
$custom-dark: #000000;
JSON
{
  "hex": "#336511",
  "rgb": {
    "r": 51,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 95.714,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45428,
    "c": 0.12439,
    "h": 136
  },
  "luminance": 0.10052
}

Semantic roles & 50–950 ramp

primary
#336511
secondary
#73359D
accent
#3AEEA5
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D03
muted
#7B7D78

Preview Lab

Preview with #336511

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

Preview Lab → · Contrast checker → · Palette generator →

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