#1F7D50#1F7D50

#1F7D50 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.4% C 0.112 H 157.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#1F7D50
RGBrgb(31, 125, 80)
HSLhsl(151, 60%, 31%)
HSVhsv(151, 75%, 49%)
CMYKcmyk(75.2%, 0%, 36%, 51%)
CIE-LABlab(46.36, -38.02, 17.00)
CIE-LCHlch(46.36, 41.65, 155.91°)
OKLaboklab(52.45% -0.103 0.0428)
OKLCHoklch(52.45% 0.112 157.4)
XYZxyz(9.3457, 15.5366, 10.0942)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D50 #7D1F4C
analogous
#1F7D21 #1F7D50 #1F7B7D
triadic
#1F7D50 #501F7D #7D501F
tetradic
#1F7D50 #211F7D #7D1F4C #7B7D1F
square
#1F7D50 #211F7D #7D1F4C #7B7D1F
split-complementary
#1F7D50 #7D1F7B #7D211F
monochromatic
#071B11 #134C31 #1F7D50 #2BAE6F #45D18E

Accessibility & contrast

On white

5.11
#1F7D50 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1F7D50 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D50
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D50#FFFFFF#000000##FFFFFF
##1F7D501.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734D
Deuteranopia (green-blind)
#706A53
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7d50;
/* rgb */ color: rgb(31, 125, 80);
/* oklch */ color: oklch(52.4% 0.112 157.4);
Tailwind
colors: {
  custom: {
    50: '#69a381',
    500: '#1f7d50',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d50;
$custom-light: #69a381;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d50",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 80
  },
  "hsl": {
    "h": 151.277,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5245,
    "c": 0.11153,
    "h": 157.4
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#1F7D50
secondary
#B0487A
accent
#4491E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7D50

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

Preview Lab → · Contrast checker → · Palette generator →

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