#1F8A5C#1F8A5C

#1F8A5C is a mid, moderate teal. Relative luminance 0.192; OKLCH L 56.3% C 0.118 H 159.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#1F8A5C
RGBrgb(31, 138, 92)
HSLhsl(154, 63%, 33%)
HSVhsv(154, 78%, 54%)
CMYKcmyk(77.5%, 0%, 33.3%, 45.9%)
CIE-LABlab(50.97, -40.75, 16.41)
CIE-LCHlch(50.97, 43.93, 158.07°)
OKLaboklab(56.32% -0.1107 0.0415)
OKLCHoklch(56.32% 0.118 159.4)
XYZxyz(11.5841, 19.2396, 13.2262)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A5C #8A1F4D
analogous
#1F8A27 #1F8A5C #1F828A
triadic
#1F8A5C #5C1F8A #8A5C1F
tetradic
#1F8A5C #271F8A #8A1F4D #828A1F
square
#1F8A5C #271F8A #8A1F4D #828A1F
split-complementary
#1F8A5C #8A1F82 #8A271F
monochromatic
#092619 #14583B #1F8A5C #2ABC7D #4CD79B

Accessibility & contrast

On white

4.33
#1F8A5C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#1F8A5C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A5C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A5C#FFFFFF#000000##000000
##1F8A5C1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887F59
Deuteranopia (green-blind)
#7B765F
Tritanopia (blue-blind)
#00897E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8a5c;
/* rgb */ color: rgb(31, 138, 92);
/* oklch */ color: oklch(56.3% 0.118 159.4);
Tailwind
colors: {
  custom: {
    50: '#6cad8a',
    500: '#1f8a5c',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a5c;
$custom-light: #6cad8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a5c",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 92
  },
  "hsl": {
    "h": 154.206,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56322,
    "c": 0.11818,
    "h": 159.4
  },
  "luminance": 0.19241
}

Semantic roles & 50–950 ramp

primary
#1F8A5C
secondary
#BA4B7B
accent
#4188E6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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