#336714#336714

#336714 is a mid, vivid yellow-green. Relative luminance 0.105; OKLCH L 46.0% C 0.125 H 136.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#336714
RGBrgb(51, 103, 20)
HSLhsl(98, 67%, 24%)
HSVhsv(98, 81%, 40%)
CMYKcmyk(50.5%, 0%, 80.6%, 59.6%)
CIE-LABlab(38.65, -32.75, 38.57)
CIE-LCHlch(38.65, 50.60, 130.33°)
OKLaboklab(46.02% -0.0911 0.0861)
OKLCHoklch(46.02% 0.125 136.6)
XYZxyz(6.3416, 10.4544, 2.3454)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336714 #481467
analogous
#5D6714 #336714 #14671E
triadic
#336714 #143367 #671433
tetradic
#336714 #145D67 #481467 #671E14
square
#336714 #145D67 #481467 #671E14
split-complementary
#336714 #1E1467 #67145D
monochromatic
#0D1A05 #1A340A #336714 #4C9A1E #66CD28

Accessibility & contrast

On white

6.79
#336714 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#336714 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336714
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336714#FFFFFF#000000##FFFFFF
##3367141.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E02
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#306357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #336714;
/* rgb */ color: rgb(51, 103, 20);
/* oklch */ color: oklch(46.0% 0.125 136.6);
Tailwind
colors: {
  custom: {
    50: '#709359',
    500: '#336714',
    950: '#000000',
  },
}
SCSS
$custom: #336714;
$custom-light: #709359;
$custom-dark: #000000;
JSON
{
  "hex": "#336714",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 97.59,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46019,
    "c": 0.12533,
    "h": 136.6
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#336714
secondary
#78399E
accent
#3DEAAA
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336714

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

Preview Lab → · Contrast checker → · Palette generator →

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