#336C16#336C16

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

Color values

HEX#336C16
RGBrgb(51, 108, 22)
HSLhsl(100, 66%, 25%)
HSVhsv(100, 80%, 42%)
CMYKcmyk(52.8%, 0%, 79.6%, 57.6%)
CIE-LABlab(40.39, -34.75, 39.53)
CIE-LCHlch(40.39, 52.63, 131.32°)
OKLaboklab(47.46% -0.0963 0.0884)
OKLCHoklch(47.46% 0.131 137.4)
XYZxyz(6.8724, 11.4864, 2.6139)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C16 #4F166C
analogous
#5E6C16 #336C16 #166C24
triadic
#336C16 #16336C #6C1633
tetradic
#336C16 #165E6C #4F166C #6C2416
square
#336C16 #165E6C #4F166C #6C2416
split-complementary
#336C16 #24166C #6C165E
monochromatic
#0C1905 #1B390C #336C16 #4B9F20 #63D22B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336C16#FFFFFF#000000##FFFFFF
##336C161.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)
#706204
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#2F685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336c16;
/* rgb */ color: rgb(51, 108, 22);
/* oklch */ color: oklch(47.5% 0.131 137.4);
Tailwind
colors: {
  custom: {
    50: '#71975a',
    500: '#336c16',
    950: '#000000',
  },
}
SCSS
$custom: #336c16;
$custom-light: #71975a;
$custom-dark: #000000;
JSON
{
  "hex": "#336c16",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 99.767,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47456,
    "c": 0.13076,
    "h": 137.4
  },
  "luminance": 0.11487
}

Semantic roles & 50–950 ramp

primary
#336C16
secondary
#803CA2
accent
#3FE9B0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336C16

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

Preview Lab → · Contrast checker → · Palette generator →

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