#336E11#336E11

#336E11 is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.0% C 0.136 H 137.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#336E11
RGBrgb(51, 110, 17)
HSLhsl(98, 73%, 25%)
HSVhsv(98, 85%, 43%)
CMYKcmyk(53.6%, 0%, 84.5%, 56.9%)
CIE-LABlab(41.05, -35.90, 41.86)
CIE-LCHlch(41.05, 55.15, 130.62°)
OKLaboklab(47.99% -0.0997 0.0925)
OKLCHoklch(47.99% 0.136 137.1)
XYZxyz(7.0421, 11.8956, 2.4552)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E11 #4C116E
analogous
#616E11 #336E11 #116E1E
triadic
#336E11 #11336E #6E1133
tetradic
#336E11 #11616E #4C116E #6E1E11
square
#336E11 #11616E #4C116E #6E1E11
split-complementary
#336E11 #1E116E #6E1161
monochromatic
#0C1B04 #1A3909 #336E11 #4CA319 #64D821

Accessibility & contrast

On white

6.21
#336E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#336E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E11
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E11#FFFFFF#000000##FFFFFF
##336E111.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#2F6A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e11;
/* rgb */ color: rgb(51, 110, 17);
/* oklch */ color: oklch(48.0% 0.136 137.1);
Tailwind
colors: {
  custom: {
    50: '#729858',
    500: '#336e11',
    950: '#000000',
  },
}
SCSS
$custom: #336e11;
$custom-light: #729858;
$custom-dark: #000000;
JSON
{
  "hex": "#336e11",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 17
  },
  "hsl": {
    "h": 98.065,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47992,
    "c": 0.13604,
    "h": 137.1
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #336E11

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

Preview Lab → · Contrast checker → · Palette generator →

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