#336F11#336F11

#336F11 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.3% C 0.137 H 137.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#336F11
RGBrgb(51, 111, 17)
HSLhsl(98, 73%, 25%)
HSVhsv(98, 85%, 44%)
CMYKcmyk(54.1%, 0%, 84.7%, 56.5%)
CIE-LABlab(41.39, -36.31, 42.18)
CIE-LCHlch(41.39, 55.66, 130.73°)
OKLaboklab(48.28% -0.1008 0.0932)
OKLCHoklch(48.28% 0.137 137.3)
XYZxyz(7.1506, 12.1126, 2.4914)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F11 #4D116F
analogous
#626F11 #336F11 #116F1E
triadic
#336F11 #11336F #6F1133
tetradic
#336F11 #11626F #4D116F #6F1E11
square
#336F11 #11626F #4D116F #6F1E11
split-complementary
#336F11 #1E116F #6F1162
monochromatic
#0C1B04 #1B3A09 #336F11 #4BA419 #64D921

Accessibility & contrast

On white

6.14
#336F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#336F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F11
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F11#FFFFFF#000000##FFFFFF
##336F111.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B601C
Tritanopia (blue-blind)
#2F6B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f11;
/* rgb */ color: rgb(51, 111, 17);
/* oklch */ color: oklch(48.3% 0.137 137.3);
Tailwind
colors: {
  custom: {
    50: '#729959',
    500: '#336f11',
    950: '#000000',
  },
}
SCSS
$custom: #336f11;
$custom-light: #729959;
$custom-dark: #000000;
JSON
{
  "hex": "#336f11",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 98.298,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48276,
    "c": 0.13731,
    "h": 137.3
  },
  "luminance": 0.12113
}

Semantic roles & 50–950 ramp

primary
#336F11
secondary
#7E35A6
accent
#38F0AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336F11

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

Preview Lab → · Contrast checker → · Palette generator →

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