#337F15#337F15

#337F15 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.155 H 138.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#337F15
RGBrgb(51, 127, 21)
HSLhsl(103, 72%, 29%)
HSVhsv(103, 83%, 50%)
CMYKcmyk(59.8%, 0%, 83.5%, 50.2%)
CIE-LABlab(46.89, -42.43, 46.04)
CIE-LCHlch(46.89, 62.61, 132.67°)
OKLaboklab(52.82% -0.117 0.1019)
OKLCHoklch(52.82% 0.155 138.9)
XYZxyz(9.0896, 15.9359, 3.3063)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F15 #61157F
analogous
#687F15 #337F15 #157F2C
triadic
#337F15 #15337F #7F1533
tetradic
#337F15 #15687F #61157F #7F2C15
square
#337F15 #15687F #61157F #7F2C15
split-complementary
#337F15 #2C157F #7F1568
monochromatic
#0B1A04 #1E4A0C #337F15 #48B41E #62DD31

Accessibility & contrast

On white

5.02
#337F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#337F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F15
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F15#FFFFFF#000000##FFFFFF
##337F151.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#2B7A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f15;
/* rgb */ color: rgb(51, 127, 21);
/* oklch */ color: oklch(52.8% 0.155 138.9);
Tailwind
colors: {
  custom: {
    50: '#75a55d',
    500: '#337f15',
    950: '#000000',
  },
}
SCSS
$custom: #337f15;
$custom-light: #75a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#337f15",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 103.019,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52817,
    "c": 0.15516,
    "h": 138.9
  },
  "luminance": 0.15937
}

Semantic roles & 50–950 ramp

primary
#337F15
secondary
#923CB4
accent
#39EEBB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337F15

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

Preview Lab → · Contrast checker → · Palette generator →

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