#336F16#336F16

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

Color values

HEX#336F16
RGBrgb(51, 111, 22)
HSLhsl(100, 67%, 26%)
HSVhsv(100, 80%, 44%)
CMYKcmyk(54.1%, 0%, 80.2%, 56.5%)
CIE-LABlab(41.42, -36.00, 40.53)
CIE-LCHlch(41.42, 54.21, 131.62°)
OKLaboklab(48.31% -0.0997 0.0905)
OKLCHoklch(48.31% 0.135 137.8)
XYZxyz(7.1943, 12.1301, 2.7211)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F16 #52166F
analogous
#5F6F16 #336F16 #166F25
triadic
#336F16 #16336F #6F1633
tetradic
#336F16 #165F6F #52166F #6F2516
square
#336F16 #165F6F #52166F #6F2516
split-complementary
#336F16 #25166F #6F165F
monochromatic
#0C1A05 #1C3C0C #336F16 #4AA220 #62D52B

Accessibility & contrast

On white

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

On black

3.43
#336F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##336F16#FFFFFF#000000##FFFFFF
##336F161.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #336f16;
/* rgb */ color: rgb(51, 111, 22);
/* oklch */ color: oklch(48.3% 0.135 137.8);
Tailwind
colors: {
  custom: {
    50: '#72995b',
    500: '#336f16',
    950: '#000000',
  },
}
SCSS
$custom: #336f16;
$custom-light: #72995b;
$custom-dark: #000000;
JSON
{
  "hex": "#336f16",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 100.449,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48307,
    "c": 0.13468,
    "h": 137.8
  },
  "luminance": 0.12131
}

Semantic roles & 50–950 ramp

primary
#336F16
secondary
#833CA5
accent
#3EEAB2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336F16

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

Preview Lab → · Contrast checker → · Palette generator →

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