#336017#336017

#336017 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.0% C 0.114 H 136.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#336017
RGBrgb(51, 96, 23)
HSLhsl(97, 61%, 23%)
HSVhsv(97, 76%, 38%)
CMYKcmyk(46.9%, 0%, 76%, 62.4%)
CIE-LABlab(36.24, -29.41, 35.00)
CIE-LCHlch(36.24, 45.71, 130.04°)
OKLaboklab(44.05% -0.0818 0.0791)
OKLCHoklch(44.05% 0.114 136)
XYZxyz(5.7026, 9.1311, 2.2724)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336017 #441760
analogous
#576017 #336017 #17601F
triadic
#336017 #173360 #601733
tetradic
#336017 #175760 #441760 #601F17
square
#336017 #175760 #441760 #601F17
split-complementary
#336017 #1F1760 #601757
monochromatic
#0D1906 #192F0B #336017 #4D9123 #67C32F

Accessibility & contrast

On white

7.43
#336017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#336017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336017
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336017#FFFFFF#000000##FFFFFF
##3360171.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580B
Deuteranopia (green-blind)
#5E541E
Tritanopia (blue-blind)
#315C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #336017;
/* rgb */ color: rgb(51, 96, 23);
/* oklch */ color: oklch(44.0% 0.114 136.0);
Tailwind
colors: {
  custom: {
    50: '#6f8d59',
    500: '#336017',
    950: '#000000',
  },
}
SCSS
$custom: #336017;
$custom-light: #6f8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#336017",
  "rgb": {
    "r": 51,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 96.986,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44046,
    "c": 0.11384,
    "h": 136
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

primary
#336017
secondary
#743C97
accent
#43E4A7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #336017

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

Preview Lab → · Contrast checker → · Palette generator →

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