#336E13#336E13

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

Color values

HEX#336E13
RGBrgb(51, 110, 19)
HSLhsl(99, 71%, 25%)
HSVhsv(99, 83%, 43%)
CMYKcmyk(53.6%, 0%, 82.7%, 56.9%)
CIE-LABlab(41.06, -35.78, 41.22)
CIE-LCHlch(41.06, 54.59, 130.96°)
OKLaboklab(48% -0.0993 0.0915)
OKLCHoklch(48% 0.135 137.3)
XYZxyz(7.0585, 11.9022, 2.5414)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E13 #4E136E
analogous
#606E13 #336E13 #136E20
triadic
#336E13 #13336E #6E1333
tetradic
#336E13 #13606E #4E136E #6E2013
square
#336E13 #13606E #4E136E #6E2013
split-complementary
#336E13 #20136E #6E1360
monochromatic
#0C1A05 #1B3A0A #336E13 #4BA21C #63D625

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336E13#FFFFFF#000000##FFFFFF
##336E131.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)
#6A5F1D
Tritanopia (blue-blind)
#2F6A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e13;
/* rgb */ color: rgb(51, 110, 19);
/* oklch */ color: oklch(48.0% 0.135 137.3);
Tailwind
colors: {
  custom: {
    50: '#729859',
    500: '#336e13',
    950: '#000000',
  },
}
SCSS
$custom: #336e13;
$custom-light: #729859;
$custom-dark: #000000;
JSON
{
  "hex": "#336e13",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 19
  },
  "hsl": {
    "h": 98.901,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48004,
    "c": 0.13503,
    "h": 137.3
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#336E13
secondary
#7F38A5
accent
#3AEDAE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336E13

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

Preview Lab → · Contrast checker → · Palette generator →

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