#336A13#336A13

#336A13 is a mid, vivid yellow-green. Relative luminance 0.111; OKLCH L 46.9% C 0.130 H 136.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#336A13
RGBrgb(51, 106, 19)
HSLhsl(98, 70%, 25%)
HSVhsv(98, 82%, 42%)
CMYKcmyk(51.9%, 0%, 82.1%, 58.4%)
CIE-LABlab(39.68, -34.10, 39.92)
CIE-LCHlch(39.68, 52.50, 130.51°)
OKLaboklab(46.87% -0.0948 0.0888)
OKLCHoklch(46.87% 0.13 136.9)
XYZxyz(6.6366, 11.0584, 2.4007)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A13 #4A136A
analogous
#5F6A13 #336A13 #136A1F
triadic
#336A13 #13336A #6A1333
tetradic
#336A13 #135F6A #4A136A #6A1F13
square
#336A13 #135F6A #4A136A #6A1F13
split-complementary
#336A13 #1F136A #6A135F
monochromatic
#0C1A05 #1A360A #336A13 #4C9E1C #65D226

Accessibility & contrast

On white

6.54
#336A13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#336A13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A13
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A13#FFFFFF#000000##FFFFFF
##336A131.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#30665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336a13;
/* rgb */ color: rgb(51, 106, 19);
/* oklch */ color: oklch(46.9% 0.130 136.9);
Tailwind
colors: {
  custom: {
    50: '#719559',
    500: '#336a13',
    950: '#000000',
  },
}
SCSS
$custom: #336a13;
$custom-light: #719559;
$custom-dark: #000000;
JSON
{
  "hex": "#336a13",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 19
  },
  "hsl": {
    "h": 97.931,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46866,
    "c": 0.12986,
    "h": 136.9
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#336A13
secondary
#7A38A1
accent
#3BECAB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336A13

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

Preview Lab → · Contrast checker → · Palette generator →

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