#337B15#337B15

#337B15 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.150 H 138.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#337B15
RGBrgb(51, 123, 21)
HSLhsl(102, 71%, 28%)
HSVhsv(102, 83%, 48%)
CMYKcmyk(58.5%, 0%, 82.9%, 51.8%)
CIE-LABlab(45.53, -40.89, 44.77)
CIE-LCHlch(45.53, 60.63, 132.41°)
OKLaboklab(51.69% -0.1129 0.0993)
OKLCHoklch(51.69% 0.15 138.7)
XYZxyz(8.5832, 14.9231, 3.1375)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B15 #5D157B
analogous
#667B15 #337B15 #157B2A
triadic
#337B15 #15337B #7B1533
tetradic
#337B15 #15667B #5D157B #7B2A15
square
#337B15 #15667B #5D157B #7B2A15
split-complementary
#337B15 #2A157B #7B1566
monochromatic
#0B1A04 #1D470C #337B15 #49AF1E #62DB2F

Accessibility & contrast

On white

5.27
#337B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#337B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B15
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B15#FFFFFF#000000##FFFFFF
##337B151.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#2C7768
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b15;
/* rgb */ color: rgb(51, 123, 21);
/* oklch */ color: oklch(51.7% 0.150 138.7);
Tailwind
colors: {
  custom: {
    50: '#74a25c',
    500: '#337b15',
    950: '#000000',
  },
}
SCSS
$custom: #337b15;
$custom-light: #74a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#337b15",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 102.353,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.15031,
    "h": 138.7
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

primary
#337B15
secondary
#8E3BB0
accent
#3AEEB9
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #337B15

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

Preview Lab → · Contrast checker → · Palette generator →

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