#336A11#336A11

#336A11 is a mid, vivid yellow-green. Relative luminance 0.111; OKLCH L 46.9% C 0.131 H 136.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#336A11
RGBrgb(51, 106, 17)
HSLhsl(97, 72%, 24%)
HSVhsv(97, 84%, 42%)
CMYKcmyk(51.9%, 0%, 84%, 58.4%)
CIE-LABlab(39.67, -34.22, 40.58)
CIE-LCHlch(39.67, 53.08, 130.15°)
OKLaboklab(46.85% -0.0952 0.0898)
OKLCHoklch(46.85% 0.131 136.7)
XYZxyz(6.6203, 11.0519, 2.3146)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A11 #48116A
analogous
#606A11 #336A11 #116A1C
triadic
#336A11 #11336A #6A1133
tetradic
#336A11 #11606A #48116A #6A1C11
square
#336A11 #11606A #48116A #6A1C11
split-complementary
#336A11 #1C116A #6A1160
monochromatic
#0D1A04 #1A3509 #336A11 #4C9F19 #66D322

Accessibility & contrast

On white

6.54
#336A11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#336A11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A11
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A11#FFFFFF#000000##FFFFFF
##336A111.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#30665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336a11;
/* rgb */ color: rgb(51, 106, 17);
/* oklch */ color: oklch(46.9% 0.131 136.7);
Tailwind
colors: {
  custom: {
    50: '#719558',
    500: '#336a11',
    950: '#000000',
  },
}
SCSS
$custom: #336a11;
$custom-light: #719558;
$custom-dark: #000000;
JSON
{
  "hex": "#336a11",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 17
  },
  "hsl": {
    "h": 97.079,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.13092,
    "h": 136.7
  },
  "luminance": 0.11052
}

Semantic roles & 50–950 ramp

primary
#336A11
secondary
#7835A2
accent
#39EFA9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336A11

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

Preview Lab → · Contrast checker → · Palette generator →

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