#1F7150#1F7150

#1F7150 is a mid, moderate teal. Relative luminance 0.127; OKLCH L 49.1% C 0.094 H 162.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#1F7150
RGBrgb(31, 113, 80)
HSLhsl(156, 57%, 28%)
HSVhsv(156, 73%, 44%)
CMYKcmyk(72.6%, 0%, 29.2%, 55.7%)
CIE-LABlab(42.28, -32.83, 11.41)
CIE-LCHlch(42.28, 34.75, 160.84°)
OKLaboklab(49.09% -0.0899 0.029)
OKLCHoklch(49.09% 0.094 162.1)
XYZxyz(7.9174, 12.6799, 9.6181)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7150 #711F40
analogous
#1F7127 #1F7150 #1F6971
triadic
#1F7150 #501F71 #71501F
tetradic
#1F7150 #271F71 #711F40 #69711F
square
#1F7150 #271F71 #711F40 #69711F
split-complementary
#1F7150 #711F69 #71271F
monochromatic
#071811 #12412E #1F7150 #2CA172 #40CB93

Accessibility & contrast

On white

5.94
#1F7150 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#1F7150 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7150
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7150#FFFFFF#000000##FFFFFF
##1F71501.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684E
Deuteranopia (green-blind)
#656152
Tritanopia (blue-blind)
#007168
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f7150;
/* rgb */ color: rgb(31, 113, 80);
/* oklch */ color: oklch(49.1% 0.094 162.1);
Tailwind
colors: {
  custom: {
    50: '#679a81',
    500: '#1f7150',
    950: '#000000',
  },
}
SCSS
$custom: #1f7150;
$custom-light: #679a81;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7150",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 80
  },
  "hsl": {
    "h": 155.854,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49093,
    "c": 0.09445,
    "h": 162.1
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#1F7150
secondary
#A5476D
accent
#4885E0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #1F7150

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

Preview Lab → · Contrast checker → · Palette generator →

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