#336F15#336F15

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

Color values

HEX#336F15
RGBrgb(51, 111, 21)
HSLhsl(100, 68%, 26%)
HSVhsv(100, 81%, 44%)
CMYKcmyk(54.1%, 0%, 81.1%, 56.5%)
CIE-LABlab(41.42, -36.07, 40.88)
CIE-LCHlch(41.42, 54.52, 131.43°)
OKLaboklab(48.3% -0.0999 0.0911)
OKLCHoklch(48.3% 0.135 137.6)
XYZxyz(7.1848, 12.1263, 2.6713)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F15 #51156F
analogous
#606F15 #336F15 #156F24
triadic
#336F15 #15336F #6F1533
tetradic
#336F15 #15606F #51156F #6F2415
square
#336F15 #15606F #51156F #6F2415
split-complementary
#336F15 #24156F #6F1560
monochromatic
#0C1A05 #1B3C0B #336F15 #4BA21F #62D628

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336F15#FFFFFF#000000##FFFFFF
##336F151.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)
#736500
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#2F6B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f15;
/* rgb */ color: rgb(51, 111, 21);
/* oklch */ color: oklch(48.3% 0.135 137.6);
Tailwind
colors: {
  custom: {
    50: '#72995a',
    500: '#336f15',
    950: '#000000',
  },
}
SCSS
$custom: #336f15;
$custom-light: #72995a;
$custom-dark: #000000;
JSON
{
  "hex": "#336f15",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 100,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.483,
    "c": 0.13524,
    "h": 137.6
  },
  "luminance": 0.12127
}

Semantic roles & 50–950 ramp

primary
#336F15
secondary
#823AA5
accent
#3DEBB1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336F15

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

Preview Lab → · Contrast checker → · Palette generator →

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