#336013#336013

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

Color values

HEX#336013
RGBrgb(51, 96, 19)
HSLhsl(95, 67%, 23%)
HSVhsv(95, 80%, 38%)
CMYKcmyk(46.9%, 0%, 80.2%, 62.4%)
CIE-LABlab(36.21, -29.71, 36.57)
CIE-LCHlch(36.21, 47.12, 129.09°)
OKLaboklab(44.01% -0.083 0.0818)
OKLCHoklch(44.01% 0.117 135.4)
XYZxyz(5.6655, 9.1162, 2.0770)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336013 #401360
analogous
#5A6013 #336013 #136019
triadic
#336013 #133360 #601333
tetradic
#336013 #135A60 #401360 #601913
square
#336013 #135A60 #401360 #601913
split-complementary
#336013 #191360 #60135A
monochromatic
#0E1A05 #182D09 #336013 #4E931D #69C627

Accessibility & contrast

On white

7.44
#336013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#336013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336013
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336013#FFFFFF#000000##FFFFFF
##3360131.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645704
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#325C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #336013;
/* rgb */ color: rgb(51, 96, 19);
/* oklch */ color: oklch(44.0% 0.117 135.4);
Tailwind
colors: {
  custom: {
    50: '#6f8d57',
    500: '#336013',
    950: '#000000',
  },
}
SCSS
$custom: #336013;
$custom-light: #6f8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#336013",
  "rgb": {
    "r": 51,
    "g": 96,
    "b": 19
  },
  "hsl": {
    "h": 95.065,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44014,
    "c": 0.1165,
    "h": 135.4
  },
  "luminance": 0.09117
}

Semantic roles & 50–950 ramp

primary
#336013
secondary
#703798
accent
#3EEAA2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #336013

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

Preview Lab → · Contrast checker → · Palette generator →

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