#336311#336311

#336311 is a dark, vivid yellow-green. Relative luminance 0.097; OKLCH L 44.9% C 0.122 H 135.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#336311
RGBrgb(51, 99, 17)
HSLhsl(95, 71%, 23%)
HSVhsv(95, 83%, 39%)
CMYKcmyk(48.5%, 0%, 82.8%, 61.2%)
CIE-LABlab(37.24, -31.19, 38.29)
CIE-LCHlch(37.24, 49.39, 129.16°)
OKLaboklab(44.86% -0.0871 0.0851)
OKLCHoklch(44.86% 0.122 135.7)
XYZxyz(5.9281, 9.6676, 2.0839)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336311 #411163
analogous
#5C6311 #336311 #116318
triadic
#336311 #113363 #631133
tetradic
#336311 #115C63 #411163 #631811
square
#336311 #115C63 #411163 #631811
split-complementary
#336311 #181163 #63115C
monochromatic
#0D1A04 #182F08 #336311 #4E971A #69CB23

Accessibility & contrast

On white

7.16
#336311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#336311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336311
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336311#FFFFFF#000000##FFFFFF
##3363111.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#61561A
Tritanopia (blue-blind)
#315F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336311;
/* rgb */ color: rgb(51, 99, 17);
/* oklch */ color: oklch(44.9% 0.122 135.7);
Tailwind
colors: {
  custom: {
    50: '#709057',
    500: '#336311',
    950: '#000000',
  },
}
SCSS
$custom: #336311;
$custom-light: #709057;
$custom-dark: #000000;
JSON
{
  "hex": "#336311",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 95.122,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44857,
    "c": 0.12173,
    "h": 135.7
  },
  "luminance": 0.09668
}

Semantic roles & 50–950 ramp

primary
#336311
secondary
#71349B
accent
#3AEDA3
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #336311

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

Preview Lab → · Contrast checker → · Palette generator →

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