#336711#336711

#336711 is a mid, vivid yellow-green. Relative luminance 0.104; OKLCH L 46.0% C 0.127 H 136.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#336711
RGBrgb(51, 103, 17)
HSLhsl(96, 72%, 24%)
HSVhsv(96, 83%, 40%)
CMYKcmyk(50.5%, 0%, 83.5%, 59.6%)
CIE-LABlab(38.63, -32.94, 39.60)
CIE-LCHlch(38.63, 51.51, 129.75°)
OKLaboklab(46% -0.0918 0.0878)
OKLCHoklch(46% 0.127 136.3)
XYZxyz(6.3165, 10.4444, 2.2133)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336711 #451167
analogous
#5E6711 #336711 #11671A
triadic
#336711 #113367 #671133
tetradic
#336711 #115E67 #451167 #671A11
square
#336711 #115E67 #451167 #671A11
split-complementary
#336711 #1A1167 #67115E
monochromatic
#0D1A04 #193208 #336711 #4D9C1A #67D022

Accessibility & contrast

On white

6.80
#336711 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#336711 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336711
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336711#FFFFFF#000000##FFFFFF
##3367111.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#316357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #336711;
/* rgb */ color: rgb(51, 103, 17);
/* oklch */ color: oklch(46.0% 0.127 136.3);
Tailwind
colors: {
  custom: {
    50: '#719357',
    500: '#336711',
    950: '#000000',
  },
}
SCSS
$custom: #336711;
$custom-light: #719357;
$custom-dark: #000000;
JSON
{
  "hex": "#336711",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 96.279,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45999,
    "c": 0.12701,
    "h": 136.3
  },
  "luminance": 0.10445
}

Semantic roles & 50–950 ramp

primary
#336711
secondary
#75359F
accent
#39EEA7
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #336711

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

Preview Lab → · Contrast checker → · Palette generator →

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