#337E28#337E28

#337E28 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.142 H 141.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#337E28
RGBrgb(51, 126, 40)
HSLhsl(112, 52%, 33%)
HSVhsv(112, 68%, 49%)
CMYKcmyk(59.5%, 0%, 68.3%, 50.6%)
CIE-LABlab(46.68, -40.54, 38.58)
CIE-LCHlch(46.68, 55.96, 136.41°)
OKLaboklab(52.69% -0.1108 0.089)
OKLCHoklch(52.69% 0.142 141.2)
XYZxyz(9.2087, 15.7779, 4.5672)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E28 #73287E
analogous
#5E7E28 #337E28 #287E48
triadic
#337E28 #28337E #7E2833
tetradic
#337E28 #285E7E #73287E #7E4828
square
#337E28 #285E7E #73287E #7E4828
split-complementary
#337E28 #48287E #7E285E
monochromatic
#0D210B #205019 #337E28 #46AC37 #65CA57

Accessibility & contrast

On white

5.05
#337E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#337E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E28
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E28#FFFFFF#000000##FFFFFF
##337E281.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731D
Deuteranopia (green-blind)
#786C30
Tritanopia (blue-blind)
#297A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337e28;
/* rgb */ color: rgb(51, 126, 40);
/* oklch */ color: oklch(52.7% 0.142 141.2);
Tailwind
colors: {
  custom: {
    50: '#73a466',
    500: '#337e28',
    950: '#000000',
  },
}
SCSS
$custom: #337e28;
$custom-light: #73a466;
$custom-dark: #000000;
JSON
{
  "hex": "#337e28",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 112.326,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52687,
    "c": 0.14208,
    "h": 141.2
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#337E28
secondary
#A353AF
accent
#4DDBC9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337E28

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

Preview Lab → · Contrast checker → · Palette generator →

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