#336313#336313

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

Color values

HEX#336313
RGBrgb(51, 99, 19)
HSLhsl(96, 68%, 23%)
HSVhsv(96, 81%, 39%)
CMYKcmyk(48.5%, 0%, 80.8%, 61.2%)
CIE-LABlab(37.25, -31.06, 37.59)
CIE-LCHlch(37.25, 48.76, 129.57°)
OKLaboklab(44.87% -0.0866 0.0839)
OKLCHoklch(44.87% 0.121 135.9)
XYZxyz(5.9445, 9.6741, 2.1700)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336313 #431363
analogous
#5B6313 #336313 #13631B
triadic
#336313 #133363 #631333
tetradic
#336313 #135B63 #431363 #631B13
square
#336313 #135B63 #431363 #631B13
split-complementary
#336313 #1B1363 #63135B
monochromatic
#0D1A05 #193009 #336313 #4D961D #68CA27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336313#FFFFFF#000000##FFFFFF
##3363131.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)
#675A02
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#315F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336313;
/* rgb */ color: rgb(51, 99, 19);
/* oklch */ color: oklch(44.9% 0.121 135.9);
Tailwind
colors: {
  custom: {
    50: '#709058',
    500: '#336313',
    950: '#000000',
  },
}
SCSS
$custom: #336313;
$custom-light: #709058;
$custom-dark: #000000;
JSON
{
  "hex": "#336313",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 96,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44871,
    "c": 0.12058,
    "h": 135.9
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#336313
secondary
#73379B
accent
#3DEBA5
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #336313

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

Preview Lab → · Contrast checker → · Palette generator →

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