#337252#337252

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

Color values

HEX#337252
RGBrgb(51, 114, 82)
HSLhsl(150, 38%, 32%)
HSVhsv(150, 55%, 45%)
CMYKcmyk(55.3%, 0%, 28.1%, 55.3%)
CIE-LABlab(43.28, -28.43, 11.71)
CIE-LCHlch(43.28, 30.75, 157.62°)
OKLaboklab(50.11% -0.078 0.0299)
OKLCHoklch(50.11% 0.084 159.1)
XYZxyz(8.9048, 13.3469, 10.0879)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337252 #723353
analogous
#337233 #337252 #337272
triadic
#337252 #523372 #725233
tetradic
#337252 #333372 #723353 #727233
square
#337252 #333372 #723353 #727233
split-complementary
#337252 #723372 #723333
monochromatic
#0D1D15 #204834 #337252 #469C70 #65BA8F

Accessibility & contrast

On white

5.72
#337252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337252
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337252#FFFFFF#000000##FFFFFF
##3372521.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337252;
/* rgb */ color: rgb(51, 114, 82);
/* oklch */ color: oklch(50.1% 0.084 159.1);
Tailwind
colors: {
  custom: {
    50: '#709b82',
    500: '#337252',
    950: '#000000',
  },
}
SCSS
$custom: #337252;
$custom-light: #709b82;
$custom-dark: #000000;
JSON
{
  "hex": "#337252",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 149.524,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.50105,
    "c": 0.08354,
    "h": 159.1
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#337252
secondary
#A25F81
accent
#5A95CE
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #337252

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

Preview Lab → · Contrast checker → · Palette generator →

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