#336E14#336E14

#336E14 is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.0% C 0.135 H 137.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#336E14
RGBrgb(51, 110, 20)
HSLhsl(99, 69%, 25%)
HSVhsv(99, 82%, 43%)
CMYKcmyk(53.6%, 0%, 81.8%, 56.9%)
CIE-LABlab(41.07, -35.72, 40.89)
CIE-LCHlch(41.07, 54.30, 131.14°)
OKLaboklab(48.01% -0.0991 0.091)
OKLCHoklch(48.01% 0.135 137.4)
XYZxyz(7.0672, 11.9057, 2.5873)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E14 #4F146E
analogous
#606E14 #336E14 #146E22
triadic
#336E14 #14336E #6E1433
tetradic
#336E14 #14606E #4F146E #6E2214
square
#336E14 #14606E #4F146E #6E2214
split-complementary
#336E14 #22146E #6E1460
monochromatic
#0C1A05 #1B3A0B #336E14 #4BA21D #63D627

Accessibility & contrast

On white

6.21
#336E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#336E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E14
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E14#FFFFFF#000000##FFFFFF
##336E141.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#2F6A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e14;
/* rgb */ color: rgb(51, 110, 20);
/* oklch */ color: oklch(48.0% 0.135 137.4);
Tailwind
colors: {
  custom: {
    50: '#72985a',
    500: '#336e14',
    950: '#000000',
  },
}
SCSS
$custom: #336e14;
$custom-light: #72985a;
$custom-dark: #000000;
JSON
{
  "hex": "#336e14",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 20
  },
  "hsl": {
    "h": 99.333,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4801,
    "c": 0.1345,
    "h": 137.4
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#336E14
secondary
#8039A5
accent
#3CECAF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336E14

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

Preview Lab → · Contrast checker → · Palette generator →

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