#337248#337248

#337248 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.9% C 0.094 H 152.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#337248
RGBrgb(51, 114, 72)
HSLhsl(140, 38%, 32%)
HSVhsv(140, 55%, 45%)
CMYKcmyk(55.3%, 0%, 36.8%, 55.3%)
CIE-LABlab(43.07, -30.57, 17.29)
CIE-LCHlch(43.07, 35.12, 150.51°)
OKLaboklab(49.86% -0.0831 0.0434)
OKLCHoklch(49.86% 0.094 152.4)
XYZxyz(8.5516, 13.2056, 8.2279)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337248 #72335D
analogous
#3E7233 #337248 #337268
triadic
#337248 #483372 #724833
tetradic
#337248 #333E72 #72335D #726833
square
#337248 #333E72 #72335D #726833
split-complementary
#337248 #683372 #72333E
monochromatic
#0D1D13 #20482D #337248 #469C63 #65BA82

Accessibility & contrast

On white

5.77
#337248 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#337248 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337248
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337248#FFFFFF#000000##FFFFFF
##3372481.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726945
Deuteranopia (green-blind)
#69634B
Tritanopia (blue-blind)
#237167
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #337248;
/* rgb */ color: rgb(51, 114, 72);
/* oklch */ color: oklch(49.9% 0.094 152.4);
Tailwind
colors: {
  custom: {
    50: '#709b7b',
    500: '#337248',
    950: '#000000',
  },
}
SCSS
$custom: #337248;
$custom-light: #709b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#337248",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 72
  },
  "hsl": {
    "h": 140,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.49865,
    "c": 0.09372,
    "h": 152.4
  },
  "luminance": 0.13206
}

Semantic roles & 50–950 ramp

primary
#337248
secondary
#A25F8C
accent
#5AA7CE
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #337248

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

Preview Lab → · Contrast checker → · Palette generator →

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