#1F7F52#1F7F52

#1F7F52 is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.1% C 0.112 H 157.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1F7F52
RGBrgb(31, 127, 82)
HSLhsl(152, 61%, 31%)
HSVhsv(152, 76%, 50%)
CMYKcmyk(75.6%, 0%, 35.4%, 50.2%)
CIE-LABlab(47.08, -38.41, 16.82)
CIE-LCHlch(47.08, 41.94, 156.35°)
OKLaboklab(53.05% -0.1041 0.0424)
OKLCHoklch(53.05% 0.112 157.8)
XYZxyz(9.6765, 16.0781, 10.5744)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F52 #7F1F4C
analogous
#1F7F22 #1F7F52 #1F7C7F
triadic
#1F7F52 #521F7F #7F521F
tetradic
#1F7F52 #221F7F #7F1F4C #7C7F1F
square
#1F7F52 #221F7F #7F1F4C #7C7F1F
split-complementary
#1F7F52 #7F1F7C #7F221F
monochromatic
#071D12 #134E32 #1F7F52 #2BB072 #46D291

Accessibility & contrast

On white

4.98
#1F7F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#1F7F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7F52
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7F52#FFFFFF#000000##FFFFFF
##1F7F521.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E754F
Deuteranopia (green-blind)
#726C55
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f7f52;
/* rgb */ color: rgb(31, 127, 82);
/* oklch */ color: oklch(53.1% 0.112 157.8);
Tailwind
colors: {
  custom: {
    50: '#6aa583',
    500: '#1f7f52',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f52;
$custom-light: #6aa583;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f52",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 82
  },
  "hsl": {
    "h": 151.875,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53053,
    "c": 0.11242,
    "h": 157.8
  },
  "luminance": 0.16079
}

Semantic roles & 50–950 ramp

primary
#1F7F52
secondary
#B2487A
accent
#448FE4
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7F52

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

Preview Lab → · Contrast checker → · Palette generator →

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