#336411#336411

#336411 is a mid, vivid yellow-green. Relative luminance 0.099; OKLCH L 45.1% C 0.123 H 135.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#336411
RGBrgb(51, 100, 17)
HSLhsl(95, 71%, 23%)
HSVhsv(95, 83%, 39%)
CMYKcmyk(49%, 0%, 83%, 60.8%)
CIE-LABlab(37.59, -31.63, 38.62)
CIE-LCHlch(37.59, 49.92, 129.32°)
OKLaboklab(45.14% -0.0883 0.0858)
OKLCHoklch(45.14% 0.123 135.8)
XYZxyz(6.0234, 9.8582, 2.1156)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336411 #421164
analogous
#5C6411 #336411 #116419
triadic
#336411 #113364 #641133
tetradic
#336411 #115C64 #421164 #641911
square
#336411 #115C64 #421164 #641911
split-complementary
#336411 #191164 #64115C
monochromatic
#0D1A04 #183008 #336411 #4E981A #68CD23

Accessibility & contrast

On white

7.07
#336411 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#336411 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336411
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336411#FFFFFF#000000##FFFFFF
##3364111.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#61571A
Tritanopia (blue-blind)
#316055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336411;
/* rgb */ color: rgb(51, 100, 17);
/* oklch */ color: oklch(45.1% 0.123 135.8);
Tailwind
colors: {
  custom: {
    50: '#709057',
    500: '#336411',
    950: '#000000',
  },
}
SCSS
$custom: #336411;
$custom-light: #709057;
$custom-dark: #000000;
JSON
{
  "hex": "#336411",
  "rgb": {
    "r": 51,
    "g": 100,
    "b": 17
  },
  "hsl": {
    "h": 95.422,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45143,
    "c": 0.12306,
    "h": 135.8
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#336411
secondary
#72359C
accent
#3AEEA4
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #336411

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

Preview Lab → · Contrast checker → · Palette generator →

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