#337254#337254

#337254 is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.2% C 0.082 H 160.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#337254
RGBrgb(51, 114, 84)
HSLhsl(151, 38%, 32%)
HSVhsv(151, 55%, 45%)
CMYKcmyk(55.3%, 0%, 26.3%, 55.3%)
CIE-LABlab(43.33, -27.97, 10.59)
CIE-LCHlch(43.33, 29.91, 159.27°)
OKLaboklab(50.16% -0.077 0.0271)
OKLCHoklch(50.16% 0.082 160.6)
XYZxyz(8.9820, 13.3777, 10.4946)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337254 #723351
analogous
#337235 #337254 #337072
triadic
#337254 #543372 #725433
tetradic
#337254 #353372 #723351 #707233
square
#337254 #353372 #723351 #707233
split-complementary
#337254 #723370 #723533
monochromatic
#0D1D16 #204835 #337254 #469C73 #65BA92

Accessibility & contrast

On white

5.71
#337254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#337254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337254
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337254#FFFFFF#000000##FFFFFF
##3372541.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716A52
Deuteranopia (green-blind)
#676456
Tritanopia (blue-blind)
#1E726A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #337254;
/* rgb */ color: rgb(51, 114, 84);
/* oklch */ color: oklch(50.2% 0.082 160.6);
Tailwind
colors: {
  custom: {
    50: '#709b84',
    500: '#337254',
    950: '#000000',
  },
}
SCSS
$custom: #337254;
$custom-light: #709b84;
$custom-dark: #000000;
JSON
{
  "hex": "#337254",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 84
  },
  "hsl": {
    "h": 151.429,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.50157,
    "c": 0.08162,
    "h": 160.6
  },
  "luminance": 0.13379
}

Semantic roles & 50–950 ramp

primary
#337254
secondary
#A25F7F
accent
#5A91CE
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #337254

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

Preview Lab → · Contrast checker → · Palette generator →

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