#336314#336314

#336314 is a dark, moderate yellow-green. Relative luminance 0.097; OKLCH L 44.9% C 0.120 H 136.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#336314
RGBrgb(51, 99, 20)
HSLhsl(96, 66%, 23%)
HSVhsv(96, 80%, 39%)
CMYKcmyk(48.5%, 0%, 79.8%, 61.2%)
CIE-LABlab(37.26, -30.99, 37.22)
CIE-LCHlch(37.26, 48.43, 129.78°)
OKLaboklab(44.88% -0.0863 0.0833)
OKLCHoklch(44.88% 0.12 136)
XYZxyz(5.9532, 9.6776, 2.2160)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336314 #441463
analogous
#5A6314 #336314 #14631C
triadic
#336314 #143363 #631433
tetradic
#336314 #145A63 #441463 #631C14
square
#336314 #145A63 #441463 #631C14
split-complementary
#336314 #1C1463 #63145A
monochromatic
#0D1905 #19300A #336314 #4D961E #67C929

Accessibility & contrast

On white

7.15
#336314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#336314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336314
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336314#FFFFFF#000000##FFFFFF
##3363141.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A04
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#315F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336314;
/* rgb */ color: rgb(51, 99, 20);
/* oklch */ color: oklch(44.9% 0.120 136.0);
Tailwind
colors: {
  custom: {
    50: '#709058',
    500: '#336314',
    950: '#000000',
  },
}
SCSS
$custom: #336314;
$custom-light: #709058;
$custom-dark: #000000;
JSON
{
  "hex": "#336314",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 20
  },
  "hsl": {
    "h": 96.456,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44878,
    "c": 0.11997,
    "h": 136
  },
  "luminance": 0.09678
}

Semantic roles & 50–950 ramp

primary
#336314
secondary
#74389A
accent
#3EE9A6
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #336314

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

Preview Lab → · Contrast checker → · Palette generator →

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