#336D11#336D11

#336D11 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.7% C 0.135 H 137.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#336D11
RGBrgb(51, 109, 17)
HSLhsl(98, 73%, 25%)
HSVhsv(98, 84%, 43%)
CMYKcmyk(53.2%, 0%, 84.4%, 57.3%)
CIE-LABlab(40.70, -35.49, 41.54)
CIE-LCHlch(40.70, 54.63, 130.51°)
OKLaboklab(47.71% -0.0986 0.0919)
OKLCHoklch(47.71% 0.135 137)
XYZxyz(6.9348, 11.6811, 2.4194)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D11 #4B116D
analogous
#616D11 #336D11 #116D1D
triadic
#336D11 #11336D #6D1133
tetradic
#336D11 #11616D #4B116D #6D1D11
square
#336D11 #11616D #4B116D #6D1D11
split-complementary
#336D11 #1D116D #6D1161
monochromatic
#0C1A04 #1A3809 #336D11 #4CA219 #65D722

Accessibility & contrast

On white

6.29
#336D11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#336D11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D11
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D11#FFFFFF#000000##FFFFFF
##336D111.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#695E1C
Tritanopia (blue-blind)
#2F695C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336d11;
/* rgb */ color: rgb(51, 109, 17);
/* oklch */ color: oklch(47.7% 0.135 137.0);
Tailwind
colors: {
  custom: {
    50: '#729758',
    500: '#336d11',
    950: '#000000',
  },
}
SCSS
$custom: #336d11;
$custom-light: #729758;
$custom-dark: #000000;
JSON
{
  "hex": "#336d11",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 17
  },
  "hsl": {
    "h": 97.826,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47707,
    "c": 0.13477,
    "h": 137
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

primary
#336D11
secondary
#7B35A5
accent
#38F0AC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336D11

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

Preview Lab → · Contrast checker → · Palette generator →

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