#337251#337251

#337251 is a mid, moderate green. Relative luminance 0.133; OKLCH L 50.1% C 0.085 H 158.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#337251
RGBrgb(51, 114, 81)
HSLhsl(149, 38%, 32%)
HSVhsv(149, 55%, 45%)
CMYKcmyk(55.3%, 0%, 28.9%, 55.3%)
CIE-LABlab(43.26, -28.66, 12.27)
CIE-LCHlch(43.26, 31.17, 156.82°)
OKLaboklab(50.08% -0.0785 0.0312)
OKLCHoklch(50.08% 0.085 158.3)
XYZxyz(8.8670, 13.3317, 9.8890)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337251 #723354
analogous
#357233 #337251 #337270
triadic
#337251 #513372 #725133
tetradic
#337251 #333572 #723354 #727033
square
#337251 #333572 #723354 #727033
split-complementary
#337251 #703372 #723335
monochromatic
#0D1D15 #204833 #337251 #469C6F #65BA8E

Accessibility & contrast

On white

5.73
#337251 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#337251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337251
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337251#FFFFFF#000000##FFFFFF
##3372511.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716A4F
Deuteranopia (green-blind)
#686453
Tritanopia (blue-blind)
#1F7169
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #337251;
/* rgb */ color: rgb(51, 114, 81);
/* oklch */ color: oklch(50.1% 0.085 158.3);
Tailwind
colors: {
  custom: {
    50: '#709b82',
    500: '#337251',
    950: '#000000',
  },
}
SCSS
$custom: #337251;
$custom-light: #709b82;
$custom-dark: #000000;
JSON
{
  "hex": "#337251",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 81
  },
  "hsl": {
    "h": 148.571,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.08451,
    "h": 158.3
  },
  "luminance": 0.13333
}

Semantic roles & 50–950 ramp

primary
#337251
secondary
#A25F82
accent
#5A97CE
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #337251

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

Preview Lab → · Contrast checker → · Palette generator →

#337251 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva