#337F28#337F28

#337F28 is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.0% C 0.143 H 141.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#337F28
RGBrgb(51, 127, 40)
HSLhsl(112, 52%, 33%)
HSVhsv(112, 69%, 50%)
CMYKcmyk(59.8%, 0%, 68.5%, 50.2%)
CIE-LABlab(47.02, -40.93, 38.95)
CIE-LCHlch(47.02, 56.50, 136.42°)
OKLaboklab(52.97% -0.1118 0.0898)
OKLCHoklch(52.97% 0.143 141.2)
XYZxyz(9.3372, 16.0349, 4.6101)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F28 #74287F
analogous
#5E7F28 #337F28 #287F49
triadic
#337F28 #28337F #7F2833
tetradic
#337F28 #285E7F #74287F #7F4928
square
#337F28 #285E7F #74287F #7F4928
split-complementary
#337F28 #49287F #7F285E
monochromatic
#0E220B #205019 #337F28 #46AE37 #66CA57

Accessibility & contrast

On white

4.99
#337F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#337F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F28
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F28#FFFFFF#000000##FFFFFF
##337F281.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731D
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#287B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f28;
/* rgb */ color: rgb(51, 127, 40);
/* oklch */ color: oklch(53.0% 0.143 141.2);
Tailwind
colors: {
  custom: {
    50: '#74a566',
    500: '#337f28',
    950: '#000000',
  },
}
SCSS
$custom: #337f28;
$custom-light: #74a566;
$custom-dark: #000000;
JSON
{
  "hex": "#337f28",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 112.414,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52966,
    "c": 0.1434,
    "h": 141.2
  },
  "luminance": 0.16036
}

Semantic roles & 50–950 ramp

primary
#337F28
secondary
#A454AF
accent
#4CDCC9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337F28

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

Preview Lab → · Contrast checker → · Palette generator →

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