#337A15#337A15

#337A15 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.149 H 138.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#337A15
RGBrgb(51, 122, 21)
HSLhsl(102, 71%, 28%)
HSVhsv(102, 83%, 48%)
CMYKcmyk(58.2%, 0%, 82.8%, 52.2%)
CIE-LABlab(45.19, -40.50, 44.45)
CIE-LCHlch(45.19, 60.13, 132.34°)
OKLaboklab(51.41% -0.1118 0.0986)
OKLCHoklch(51.41% 0.149 138.6)
XYZxyz(8.4598, 14.6763, 3.0963)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A15 #5C157A
analogous
#657A15 #337A15 #157A29
triadic
#337A15 #15337A #7A1533
tetradic
#337A15 #15657A #5C157A #7A2915
square
#337A15 #15657A #5C157A #7A2915
split-complementary
#337A15 #29157A #7A1565
monochromatic
#0B1A04 #1D460C #337A15 #49AE1E #62DB2E

Accessibility & contrast

On white

5.34
#337A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#337A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A15
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A15#FFFFFF#000000##FFFFFF
##337A151.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#2C7667
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a15;
/* rgb */ color: rgb(51, 122, 21);
/* oklch */ color: oklch(51.4% 0.149 138.6);
Tailwind
colors: {
  custom: {
    50: '#74a15c',
    500: '#337a15',
    950: '#000000',
  },
}
SCSS
$custom: #337a15;
$custom-light: #74a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#337a15",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 102.178,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51411,
    "c": 0.14908,
    "h": 138.6
  },
  "luminance": 0.14677
}

Semantic roles & 50–950 ramp

primary
#337A15
secondary
#8D3BAF
accent
#3AEDB8
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #337A15

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

Preview Lab → · Contrast checker → · Palette generator →

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