#336D14#336D14

#336D14 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.7% C 0.133 H 137.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#336D14
RGBrgb(51, 109, 20)
HSLhsl(99, 69%, 25%)
HSVhsv(99, 82%, 43%)
CMYKcmyk(53.2%, 0%, 81.7%, 57.3%)
CIE-LABlab(40.72, -35.30, 40.56)
CIE-LCHlch(40.72, 53.77, 131.04°)
OKLaboklab(47.73% -0.0979 0.0903)
OKLCHoklch(47.73% 0.133 137.3)
XYZxyz(6.9599, 11.6911, 2.5515)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D14 #4E146D
analogous
#5F6D14 #336D14 #146D21
triadic
#336D14 #14336D #6D1433
tetradic
#336D14 #145F6D #4E146D #6D2114
square
#336D14 #145F6D #4E146D #6D2114
split-complementary
#336D14 #21146D #6D145F
monochromatic
#0C1A05 #1B390B #336D14 #4BA11D #63D427

Accessibility & contrast

On white

6.29
#336D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#336D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D14
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D14#FFFFFF#000000##FFFFFF
##336D141.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#2F695C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336d14;
/* rgb */ color: rgb(51, 109, 20);
/* oklch */ color: oklch(47.7% 0.133 137.3);
Tailwind
colors: {
  custom: {
    50: '#71975a',
    500: '#336d14',
    950: '#000000',
  },
}
SCSS
$custom: #336d14;
$custom-light: #71975a;
$custom-dark: #000000;
JSON
{
  "hex": "#336d14",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 20
  },
  "hsl": {
    "h": 99.101,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.13321,
    "h": 137.3
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#336D14
secondary
#7F39A4
accent
#3CECAF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336D14

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

Preview Lab → · Contrast checker → · Palette generator →

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