#336D13#336D13

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

Color values

HEX#336D13
RGBrgb(51, 109, 19)
HSLhsl(99, 70%, 25%)
HSVhsv(99, 83%, 43%)
CMYKcmyk(53.2%, 0%, 82.6%, 57.3%)
CIE-LABlab(40.72, -35.37, 40.90)
CIE-LCHlch(40.72, 54.07, 130.85°)
OKLaboklab(47.72% -0.0982 0.0908)
OKLCHoklch(47.72% 0.134 137.2)
XYZxyz(6.9512, 11.6876, 2.5056)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D13 #4D136D
analogous
#606D13 #336D13 #136D20
triadic
#336D13 #13336D #6D1333
tetradic
#336D13 #13606D #4D136D #6D2013
square
#336D13 #13606D #4D136D #6D2013
split-complementary
#336D13 #20136D #6D1360
monochromatic
#0C1A05 #1B390A #336D13 #4BA11C #64D525

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336D13#FFFFFF#000000##FFFFFF
##336D131.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)
#695E1D
Tritanopia (blue-blind)
#2F695C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336d13;
/* rgb */ color: rgb(51, 109, 19);
/* oklch */ color: oklch(47.7% 0.134 137.2);
Tailwind
colors: {
  custom: {
    50: '#719759',
    500: '#336d13',
    950: '#000000',
  },
}
SCSS
$custom: #336d13;
$custom-light: #719759;
$custom-dark: #000000;
JSON
{
  "hex": "#336d13",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 19
  },
  "hsl": {
    "h": 98.667,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47719,
    "c": 0.13374,
    "h": 137.2
  },
  "luminance": 0.11688
}

Semantic roles & 50–950 ramp

primary
#336D13
secondary
#7E38A4
accent
#3BEDAE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336D13

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

Preview Lab → · Contrast checker → · Palette generator →

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