#337A28#337A28

#337A28 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.137 H 141.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#337A28
RGBrgb(51, 122, 40)
HSLhsl(112, 51%, 32%)
HSVhsv(112, 67%, 48%)
CMYKcmyk(58.2%, 0%, 67.2%, 52.2%)
CIE-LABlab(45.32, -38.93, 37.10)
CIE-LCHlch(45.32, 53.78, 136.38°)
OKLaboklab(51.57% -0.1064 0.0859)
OKLCHoklch(51.57% 0.137 141.1)
XYZxyz(8.7074, 14.7753, 4.4001)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A28 #6F287A
analogous
#5C7A28 #337A28 #287A46
triadic
#337A28 #28337A #7A2833
tetradic
#337A28 #285C7A #6F287A #7A4628
square
#337A28 #285C7A #6F287A #7A4628
split-complementary
#337A28 #46287A #7A285C
monochromatic
#0C1E0A #204C19 #337A28 #46A837 #64C755

Accessibility & contrast

On white

5.31
#337A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#337A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A28
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A28#FFFFFF#000000##FFFFFF
##337A281.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1E
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#2A7669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a28;
/* rgb */ color: rgb(51, 122, 40);
/* oklch */ color: oklch(51.6% 0.137 141.1);
Tailwind
colors: {
  custom: {
    50: '#73a166',
    500: '#337a28',
    950: '#000000',
  },
}
SCSS
$custom: #337a28;
$custom-light: #73a166;
$custom-dark: #000000;
JSON
{
  "hex": "#337a28",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 111.951,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.13673,
    "h": 141.1
  },
  "luminance": 0.14776
}

Semantic roles & 50–950 ramp

primary
#337A28
secondary
#A052AC
accent
#4EDAC7
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337A28

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

Preview Lab → · Contrast checker → · Palette generator →

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