#1F9271#1F9271

#1F9271 is a mid, moderate teal. Relative luminance 0.220; OKLCH L 59.0% C 0.111 H 168.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#1F9271
RGBrgb(31, 146, 113)
HSLhsl(163, 65%, 35%)
HSVhsv(163, 79%, 57%)
CMYKcmyk(78.8%, 0%, 22.6%, 42.7%)
CIE-LABlab(54.07, -39.08, 8.76)
CIE-LCHlch(54.07, 40.05, 167.36°)
OKLaboklab(59.03% -0.1084 0.0224)
OKLCHoklch(59.03% 0.111 168.3)
XYZxyz(13.8230, 22.0396, 19.1451)
Luminance0.2204 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9271 #921F40
analogous
#1F9238 #1F9271 #1F7992
triadic
#1F9271 #711F92 #92711F
tetradic
#1F9271 #381F92 #921F40 #79921F
square
#1F9271 #381F92 #921F40 #79921F
split-complementary
#1F9271 #921F79 #92381F
monochromatic
#0A2D23 #14604A #1F9271 #2AC498 #51DAB3

Accessibility & contrast

On white

3.88
#1F9271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#1F9271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9271
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9271#FFFFFF#000000##000000
##1F92711.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E876F
Deuteranopia (green-blind)
#807D73
Tritanopia (blue-blind)
#009389
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f9271;
/* rgb */ color: rgb(31, 146, 113);
/* oklch */ color: oklch(59.0% 0.111 168.3);
Tailwind
colors: {
  custom: {
    50: '#6fb399',
    500: '#1f9271',
    950: '#000000',
  },
}
SCSS
$custom: #1f9271;
$custom-light: #6fb399;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9271",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 113
  },
  "hsl": {
    "h": 162.783,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59026,
    "c": 0.11071,
    "h": 168.3
  },
  "luminance": 0.22041
}

Semantic roles & 50–950 ramp

primary
#1F9271
secondary
#BD506F
accent
#4070E8
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#08110E
muted
#7B807E

Preview Lab

Preview with #1F9271

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

Preview Lab → · Contrast checker → · Palette generator →

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