#337E15#337E15

#337E15 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.154 H 138.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#337E15
RGBrgb(51, 126, 21)
HSLhsl(103, 71%, 29%)
HSVhsv(103, 83%, 49%)
CMYKcmyk(59.5%, 0%, 83.3%, 50.6%)
CIE-LABlab(46.55, -42.05, 45.72)
CIE-LCHlch(46.55, 62.11, 132.60°)
OKLaboklab(52.54% -0.116 0.1012)
OKLCHoklch(52.54% 0.154 138.9)
XYZxyz(8.9611, 15.6789, 3.2634)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E15 #60157E
analogous
#687E15 #337E15 #157E2C
triadic
#337E15 #15337E #7E1533
tetradic
#337E15 #15687E #60157E #7E2C15
square
#337E15 #15687E #60157E #7E2C15
split-complementary
#337E15 #2C157E #7E1568
monochromatic
#0B1A04 #1E4A0C #337E15 #48B21E #62DD31

Accessibility & contrast

On white

5.08
#337E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#337E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E15
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E15#FFFFFF#000000##FFFFFF
##337E151.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#2B796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337e15;
/* rgb */ color: rgb(51, 126, 21);
/* oklch */ color: oklch(52.5% 0.154 138.9);
Tailwind
colors: {
  custom: {
    50: '#74a45d',
    500: '#337e15',
    950: '#000000',
  },
}
SCSS
$custom: #337e15;
$custom-light: #74a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#337e15",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 102.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52536,
    "c": 0.15396,
    "h": 138.9
  },
  "luminance": 0.1568
}

Semantic roles & 50–950 ramp

primary
#337E15
secondary
#913CB3
accent
#3AEEBB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337E15

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

Preview Lab → · Contrast checker → · Palette generator →

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