#1F8A5B#1F8A5B

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

Color values

HEX#1F8A5B
RGBrgb(31, 138, 91)
HSLhsl(154, 63%, 33%)
HSVhsv(154, 78%, 54%)
CMYKcmyk(77.5%, 0%, 34.1%, 45.9%)
CIE-LABlab(50.95, -40.97, 16.95)
CIE-LCHlch(50.95, 44.34, 157.53°)
OKLaboklab(56.3% -0.1112 0.0428)
OKLCHoklch(56.3% 0.119 158.9)
XYZxyz(11.5407, 19.2222, 12.9975)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A5B #8A1F4E
analogous
#1F8A25 #1F8A5B #1F838A
triadic
#1F8A5B #5B1F8A #8A5B1F
tetradic
#1F8A5B #251F8A #8A1F4E #838A1F
square
#1F8A5B #251F8A #8A1F4E #838A1F
split-complementary
#1F8A5B #8A1F83 #8A251F
monochromatic
#092619 #14583A #1F8A5B #2ABC7C #4CD79A

Accessibility & contrast

On white

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

On black

4.84
#1F8A5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A5B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A5B#FFFFFF#000000##000000
##1F8A5B1.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8a5b;
/* rgb */ color: rgb(31, 138, 91);
/* oklch */ color: oklch(56.3% 0.119 158.9);
Tailwind
colors: {
  custom: {
    50: '#6cad89',
    500: '#1f8a5b',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a5b;
$custom-light: #6cad89;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a5b",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 91
  },
  "hsl": {
    "h": 153.645,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56299,
    "c": 0.11912,
    "h": 158.9
  },
  "luminance": 0.19224
}

Semantic roles & 50–950 ramp

primary
#1F8A5B
secondary
#BA4B7C
accent
#418AE6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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