#336C11#336C11

#336C11 is a mid, vivid yellow-green. Relative luminance 0.115; OKLCH L 47.4% C 0.133 H 136.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#336C11
RGBrgb(51, 108, 17)
HSLhsl(98, 73%, 25%)
HSVhsv(98, 84%, 42%)
CMYKcmyk(52.8%, 0%, 84.3%, 57.6%)
CIE-LABlab(40.36, -35.07, 41.22)
CIE-LCHlch(40.36, 54.12, 130.39°)
OKLaboklab(47.42% -0.0975 0.0912)
OKLCHoklch(47.42% 0.133 136.9)
XYZxyz(6.8288, 11.4689, 2.3841)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C11 #4A116C
analogous
#616C11 #336C11 #116C1C
triadic
#336C11 #11336C #6C1133
tetradic
#336C11 #11616C #4A116C #6C1C11
square
#336C11 #11616C #4A116C #6C1C11
split-complementary
#336C11 #1C116C #6C1161
monochromatic
#0C1A04 #1A3709 #336C11 #4CA119 #65D622

Accessibility & contrast

On white

6.38
#336C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#336C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336C11
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C11#FFFFFF#000000##FFFFFF
##336C111.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#695D1C
Tritanopia (blue-blind)
#30685B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336c11;
/* rgb */ color: rgb(51, 108, 17);
/* oklch */ color: oklch(47.4% 0.133 136.9);
Tailwind
colors: {
  custom: {
    50: '#719758',
    500: '#336c11',
    950: '#000000',
  },
}
SCSS
$custom: #336c11;
$custom-light: #719758;
$custom-dark: #000000;
JSON
{
  "hex": "#336c11",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 17
  },
  "hsl": {
    "h": 97.582,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47423,
    "c": 0.13349,
    "h": 136.9
  },
  "luminance": 0.11469
}

Semantic roles & 50–950 ramp

primary
#336C11
secondary
#7A35A4
accent
#38EFAB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336C11

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

Preview Lab → · Contrast checker → · Palette generator →

#336C11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva