#336F13#336F13

#336F13 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.3% C 0.136 H 137.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#336F13
RGBrgb(51, 111, 19)
HSLhsl(99, 71%, 25%)
HSVhsv(99, 83%, 44%)
CMYKcmyk(54.1%, 0%, 82.9%, 56.5%)
CIE-LABlab(41.40, -36.20, 41.55)
CIE-LCHlch(41.40, 55.10, 131.06°)
OKLaboklab(48.29% -0.1004 0.0922)
OKLCHoklch(48.29% 0.136 137.4)
XYZxyz(7.1670, 12.1192, 2.5775)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F13 #4F136F
analogous
#616F13 #336F13 #136F21
triadic
#336F13 #13336F #6F1333
tetradic
#336F13 #13616F #4F136F #6F2113
square
#336F13 #13616F #4F136F #6F2113
split-complementary
#336F13 #21136F #6F1361
monochromatic
#0C1A04 #1B3B0A #336F13 #4BA31C #63D825

Accessibility & contrast

On white

6.13
#336F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#336F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F13
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F13#FFFFFF#000000##FFFFFF
##336F131.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#2F6B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f13;
/* rgb */ color: rgb(51, 111, 19);
/* oklch */ color: oklch(48.3% 0.136 137.4);
Tailwind
colors: {
  custom: {
    50: '#729959',
    500: '#336f13',
    950: '#000000',
  },
}
SCSS
$custom: #336f13;
$custom-light: #729959;
$custom-dark: #000000;
JSON
{
  "hex": "#336f13",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 19
  },
  "hsl": {
    "h": 99.13,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48287,
    "c": 0.13631,
    "h": 137.4
  },
  "luminance": 0.1212
}

Semantic roles & 50–950 ramp

primary
#336F13
secondary
#8038A6
accent
#3AEEAF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336F13

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

Preview Lab → · Contrast checker → · Palette generator →

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