#336C13#336C13

#336C13 is a mid, vivid yellow-green. Relative luminance 0.115; OKLCH L 47.4% C 0.132 H 137.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#336C13
RGBrgb(51, 108, 19)
HSLhsl(98, 70%, 25%)
HSVhsv(98, 82%, 42%)
CMYKcmyk(52.8%, 0%, 82.4%, 57.6%)
CIE-LABlab(40.37, -34.95, 40.57)
CIE-LCHlch(40.37, 53.55, 130.74°)
OKLaboklab(47.44% -0.097 0.0901)
OKLCHoklch(47.44% 0.132 137.1)
XYZxyz(6.8451, 11.4755, 2.4703)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C13 #4C136C
analogous
#606C13 #336C13 #136C1F
triadic
#336C13 #13336C #6C1333
tetradic
#336C13 #13606C #4C136C #6C1F13
square
#336C13 #13606C #4C136C #6C1F13
split-complementary
#336C13 #1F136C #6C1360
monochromatic
#0C1A05 #1A380A #336C13 #4CA01C #64D425

Accessibility & contrast

On white

6.37
#336C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#336C13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336C13
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C13#FFFFFF#000000##FFFFFF
##336C131.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#2F685B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336c13;
/* rgb */ color: rgb(51, 108, 19);
/* oklch */ color: oklch(47.4% 0.132 137.1);
Tailwind
colors: {
  custom: {
    50: '#719759',
    500: '#336c13',
    950: '#000000',
  },
}
SCSS
$custom: #336c13;
$custom-light: #719759;
$custom-dark: #000000;
JSON
{
  "hex": "#336c13",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 19
  },
  "hsl": {
    "h": 98.427,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47435,
    "c": 0.13246,
    "h": 137.1
  },
  "luminance": 0.11476
}

Semantic roles & 50–950 ramp

primary
#336C13
secondary
#7C38A3
accent
#3BEDAD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336C13

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

Preview Lab → · Contrast checker → · Palette generator →

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