#1F7352#1F7352

#1F7352 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 49.7% C 0.095 H 162.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#1F7352
RGBrgb(31, 115, 82)
HSLhsl(156, 58%, 29%)
HSVhsv(156, 73%, 45%)
CMYKcmyk(73%, 0%, 28.7%, 54.9%)
CIE-LABlab(43.00, -33.24, 11.23)
CIE-LCHlch(43.00, 35.08, 161.33°)
OKLaboklab(49.71% -0.0911 0.0286)
OKLCHoklch(49.71% 0.095 162.6)
XYZxyz(8.2179, 13.1610, 10.0882)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7352 #731F40
analogous
#1F7328 #1F7352 #1F6A73
triadic
#1F7352 #521F73 #73521F
tetradic
#1F7352 #281F73 #731F40 #6A731F
square
#1F7352 #281F73 #731F40 #6A731F
split-complementary
#1F7352 #731F6A #73281F
monochromatic
#061811 #124330 #1F7352 #2CA374 #41CC95

Accessibility & contrast

On white

5.78
#1F7352 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#1F7352 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7352
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7352#FFFFFF#000000##FFFFFF
##1F73521.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716A50
Deuteranopia (green-blind)
#666254
Tritanopia (blue-blind)
#00736A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f7352;
/* rgb */ color: rgb(31, 115, 82);
/* oklch */ color: oklch(49.7% 0.095 162.6);
Tailwind
colors: {
  custom: {
    50: '#679c82',
    500: '#1f7352',
    950: '#000000',
  },
}
SCSS
$custom: #1f7352;
$custom-light: #679c82;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7352",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 82
  },
  "hsl": {
    "h": 156.429,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49705,
    "c": 0.09545,
    "h": 162.6
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#1F7352
secondary
#A7476D
accent
#4783E1
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #1F7352

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

Preview Lab → · Contrast checker → · Palette generator →

#1F7352 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva