#336C14#336C14

#336C14 is a mid, vivid yellow-green. Relative luminance 0.115; OKLCH L 47.4% C 0.132 H 137.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#336C14
RGBrgb(51, 108, 20)
HSLhsl(99, 69%, 25%)
HSVhsv(99, 81%, 42%)
CMYKcmyk(52.8%, 0%, 81.5%, 57.6%)
CIE-LABlab(40.38, -34.88, 40.23)
CIE-LCHlch(40.38, 53.25, 130.93°)
OKLaboklab(47.44% -0.0968 0.0896)
OKLCHoklch(47.44% 0.132 137.2)
XYZxyz(6.8539, 11.4789, 2.5162)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C14 #4D146C
analogous
#5F6C14 #336C14 #146C21
triadic
#336C14 #14336C #6C1433
tetradic
#336C14 #145F6C #4D146C #6C2114
square
#336C14 #145F6C #4D146C #6C2114
split-complementary
#336C14 #21146C #6C145F
monochromatic
#0C1A05 #1B380A #336C14 #4BA01E #64D327

Accessibility & contrast

On white

6.37
#336C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#336C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336C14
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C14#FFFFFF#000000##FFFFFF
##336C141.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#2F685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336c14;
/* rgb */ color: rgb(51, 108, 20);
/* oklch */ color: oklch(47.4% 0.132 137.2);
Tailwind
colors: {
  custom: {
    50: '#719759',
    500: '#336c14',
    950: '#000000',
  },
}
SCSS
$custom: #336c14;
$custom-light: #719759;
$custom-dark: #000000;
JSON
{
  "hex": "#336c14",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 20
  },
  "hsl": {
    "h": 98.864,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.13191,
    "h": 137.2
  },
  "luminance": 0.11479
}

Semantic roles & 50–950 ramp

primary
#336C14
secondary
#7E39A3
accent
#3CECAE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336C14

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

Preview Lab → · Contrast checker → · Palette generator →

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