#336E15#336E15

#336E15 is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.0% C 0.134 H 137.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#336E15
RGBrgb(51, 110, 21)
HSLhsl(100, 68%, 26%)
HSVhsv(100, 81%, 43%)
CMYKcmyk(53.6%, 0%, 80.9%, 56.9%)
CIE-LABlab(41.07, -35.66, 40.55)
CIE-LCHlch(41.07, 54.00, 131.33°)
OKLaboklab(48.02% -0.0988 0.0904)
OKLCHoklch(48.02% 0.134 137.5)
XYZxyz(7.0763, 11.9093, 2.6352)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E15 #50156E
analogous
#5F6E15 #336E15 #156E23
triadic
#336E15 #15336E #6E1533
tetradic
#336E15 #155F6E #50156E #6E2315
square
#336E15 #155F6E #50156E #6E2315
split-complementary
#336E15 #23156E #6E155F
monochromatic
#0C1A05 #1B3B0B #336E15 #4BA11F #63D529

Accessibility & contrast

On white

6.21
#336E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#336E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E15
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E15#FFFFFF#000000##FFFFFF
##336E151.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#2F6A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e15;
/* rgb */ color: rgb(51, 110, 21);
/* oklch */ color: oklch(48.0% 0.134 137.5);
Tailwind
colors: {
  custom: {
    50: '#72985a',
    500: '#336e15',
    950: '#000000',
  },
}
SCSS
$custom: #336e15;
$custom-light: #72985a;
$custom-dark: #000000;
JSON
{
  "hex": "#336e15",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 99.775,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.13394,
    "h": 137.5
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

primary
#336E15
secondary
#813AA4
accent
#3DEBB0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336E15

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

Preview Lab → · Contrast checker → · Palette generator →

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