#336A14#336A14

#336A14 is a mid, vivid yellow-green. Relative luminance 0.111; OKLCH L 46.9% C 0.129 H 137.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#336A14
RGBrgb(51, 106, 20)
HSLhsl(98, 68%, 25%)
HSVhsv(98, 81%, 42%)
CMYKcmyk(51.9%, 0%, 81.1%, 58.4%)
CIE-LABlab(39.68, -34.04, 39.57)
CIE-LCHlch(39.68, 52.20, 130.70°)
OKLaboklab(46.87% -0.0945 0.0882)
OKLCHoklch(46.87% 0.129 137)
XYZxyz(6.6453, 11.0619, 2.4467)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A14 #4B146A
analogous
#5E6A14 #336A14 #146A20
triadic
#336A14 #14336A #6A1433
tetradic
#336A14 #145E6A #4B146A #6A2014
square
#336A14 #145E6A #4B146A #6A2014
split-complementary
#336A14 #20146A #6A145E
monochromatic
#0C1A05 #1A370A #336A14 #4C9D1E #65D127

Accessibility & contrast

On white

6.54
#336A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#336A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A14
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A14#FFFFFF#000000##FFFFFF
##336A141.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6001
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#30665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336a14;
/* rgb */ color: rgb(51, 106, 20);
/* oklch */ color: oklch(46.9% 0.129 137.0);
Tailwind
colors: {
  custom: {
    50: '#719559',
    500: '#336a14',
    950: '#000000',
  },
}
SCSS
$custom: #336a14;
$custom-light: #719559;
$custom-dark: #000000;
JSON
{
  "hex": "#336a14",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 98.372,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46873,
    "c": 0.1293,
    "h": 137
  },
  "luminance": 0.11062
}

Semantic roles & 50–950 ramp

primary
#336A14
secondary
#7B39A1
accent
#3DEBAC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336A14

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

Preview Lab → · Contrast checker → · Palette generator →

#336A14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva