#336014#336014

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

Color values

HEX#336014
RGBrgb(51, 96, 20)
HSLhsl(96, 66%, 23%)
HSVhsv(96, 79%, 38%)
CMYKcmyk(46.9%, 0%, 79.2%, 62.4%)
CIE-LABlab(36.21, -29.64, 36.19)
CIE-LCHlch(36.21, 46.78, 129.32°)
OKLaboklab(44.02% -0.0827 0.0812)
OKLCHoklch(44.02% 0.116 135.5)
XYZxyz(5.6742, 9.1197, 2.1230)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336014 #411460
analogous
#596014 #336014 #14601B
triadic
#336014 #143360 #601433
tetradic
#336014 #145960 #411460 #601B14
square
#336014 #145960 #411460 #601B14
split-complementary
#336014 #1B1460 #601459
monochromatic
#0D1905 #182D09 #336014 #4E931F #69C529

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336014#FFFFFF#000000##FFFFFF
##3360141.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)
#645805
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#325C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #336014;
/* rgb */ color: rgb(51, 96, 20);
/* oklch */ color: oklch(44.0% 0.116 135.5);
Tailwind
colors: {
  custom: {
    50: '#6f8d58',
    500: '#336014',
    950: '#000000',
  },
}
SCSS
$custom: #336014;
$custom-light: #6f8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#336014",
  "rgb": {
    "r": 51,
    "g": 96,
    "b": 20
  },
  "hsl": {
    "h": 95.526,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44022,
    "c": 0.11586,
    "h": 135.5
  },
  "luminance": 0.0912
}

Semantic roles & 50–950 ramp

primary
#336014
secondary
#713898
accent
#3FE8A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #336014

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

Preview Lab → · Contrast checker → · Palette generator →

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