#336C15#336C15

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

Color values

HEX#336C15
RGBrgb(51, 108, 21)
HSLhsl(99, 67%, 25%)
HSVhsv(99, 81%, 42%)
CMYKcmyk(52.8%, 0%, 80.6%, 57.6%)
CIE-LABlab(40.38, -34.82, 39.88)
CIE-LCHlch(40.38, 52.94, 131.12°)
OKLaboklab(47.45% -0.0966 0.089)
OKLCHoklch(47.45% 0.131 137.3)
XYZxyz(6.8629, 11.4826, 2.5640)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C15 #4E156C
analogous
#5F6C15 #336C15 #156C22
triadic
#336C15 #15336C #6C1533
tetradic
#336C15 #155F6C #4E156C #6C2215
square
#336C15 #155F6C #4E156C #6C2215
split-complementary
#336C15 #22156C #6C155F
monochromatic
#0C1A05 #1B390B #336C15 #4B9F1F #63D229

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336C15#FFFFFF#000000##FFFFFF
##336C151.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)
#706202
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#2F685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336c15;
/* rgb */ color: rgb(51, 108, 21);
/* oklch */ color: oklch(47.4% 0.131 137.3);
Tailwind
colors: {
  custom: {
    50: '#71975a',
    500: '#336c15',
    950: '#000000',
  },
}
SCSS
$custom: #336c15;
$custom-light: #71975a;
$custom-dark: #000000;
JSON
{
  "hex": "#336c15",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 99.31,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47449,
    "c": 0.13135,
    "h": 137.3
  },
  "luminance": 0.11483
}

Semantic roles & 50–950 ramp

primary
#336C15
secondary
#7F3AA3
accent
#3DEAAF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336C15

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

Preview Lab → · Contrast checker → · Palette generator →

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