#336911#336911

#336911 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.6% C 0.130 H 136.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#336911
RGBrgb(51, 105, 17)
HSLhsl(97, 72%, 24%)
HSVhsv(97, 84%, 41%)
CMYKcmyk(51.4%, 0%, 83.8%, 58.8%)
CIE-LABlab(39.32, -33.80, 40.25)
CIE-LCHlch(39.32, 52.56, 130.02°)
OKLaboklab(46.57% -0.0941 0.0892)
OKLCHoklch(46.57% 0.13 136.5)
XYZxyz(6.5178, 10.8470, 2.2804)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336911 #471169
analogous
#5F6911 #336911 #11691B
triadic
#336911 #113369 #691133
tetradic
#336911 #115F69 #471169 #691B11
square
#336911 #115F69 #471169 #691B11
split-complementary
#336911 #1B1169 #69115F
monochromatic
#0D1A04 #193408 #336911 #4D9E1A #66D222

Accessibility & contrast

On white

6.63
#336911 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#336911 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336911
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336911#FFFFFF#000000##FFFFFF
##3369111.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#306559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336911;
/* rgb */ color: rgb(51, 105, 17);
/* oklch */ color: oklch(46.6% 0.130 136.5);
Tailwind
colors: {
  custom: {
    50: '#719458',
    500: '#336911',
    950: '#000000',
  },
}
SCSS
$custom: #336911;
$custom-light: #719458;
$custom-dark: #000000;
JSON
{
  "hex": "#336911",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 17
  },
  "hsl": {
    "h": 96.818,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46569,
    "c": 0.12962,
    "h": 136.5
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#336911
secondary
#7735A1
accent
#39EFA9
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336911

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

Preview Lab → · Contrast checker → · Palette generator →

#336911 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva