#1F7151#1F7151

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

Color values

HEX#1F7151
RGBrgb(31, 113, 81)
HSLhsl(157, 57%, 28%)
HSVhsv(157, 73%, 44%)
CMYKcmyk(72.6%, 0%, 28.3%, 55.7%)
CIE-LABlab(42.30, -32.58, 10.84)
CIE-LCHlch(42.30, 34.34, 161.59°)
OKLaboklab(49.12% -0.0893 0.0276)
OKLCHoklch(49.12% 0.094 162.8)
XYZxyz(7.9546, 12.6947, 9.8141)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7151 #711F3F
analogous
#1F7128 #1F7151 #1F6871
triadic
#1F7151 #511F71 #71511F
tetradic
#1F7151 #281F71 #711F3F #68711F
square
#1F7151 #281F71 #711F3F #68711F
split-complementary
#1F7151 #711F68 #71281F
monochromatic
#071811 #12412F #1F7151 #2CA173 #40CB94

Accessibility & contrast

On white

5.93
#1F7151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7151
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7151#FFFFFF#000000##FFFFFF
##1F71511.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7151;
/* rgb */ color: rgb(31, 113, 81);
/* oklch */ color: oklch(49.1% 0.094 162.8);
Tailwind
colors: {
  custom: {
    50: '#679a82',
    500: '#1f7151',
    950: '#000000',
  },
}
SCSS
$custom: #1f7151;
$custom-light: #679a82;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7151",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 156.585,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.09353,
    "h": 162.8
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#1F7151
secondary
#A5476C
accent
#4883E0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #1F7151

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

Preview Lab → · Contrast checker → · Palette generator →

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