#1F8D5B#1F8D5B

#1F8D5B is a mid, vivid teal. Relative luminance 0.201; OKLCH L 57.1% C 0.123 H 158.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#1F8D5B
RGBrgb(31, 141, 91)
HSLhsl(153, 64%, 34%)
HSVhsv(153, 78%, 55%)
CMYKcmyk(78%, 0%, 35.5%, 44.7%)
CIE-LABlab(51.94, -42.19, 18.30)
CIE-LCHlch(51.94, 45.99, 156.55°)
OKLaboklab(57.12% -0.1143 0.0461)
OKLCHoklch(57.12% 0.123 158)
XYZxyz(11.9771, 20.0950, 13.1430)
Luminance0.2010 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D5B #8D1F51
analogous
#1F8D24 #1F8D5B #1F888D
triadic
#1F8D5B #5B1F8D #8D5B1F
tetradic
#1F8D5B #241F8D #8D1F51 #888D1F
square
#1F8D5B #241F8D #8D1F51 #888D1F
split-complementary
#1F8D5B #8D1F88 #8D241F
monochromatic
#09291A #145B3B #1F8D5B #2ABF7B #4ED899

Accessibility & contrast

On white

4.18
#1F8D5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#1F8D5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D5B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D5B#FFFFFF#000000##000000
##1F8D5B1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8258
Deuteranopia (green-blind)
#7E785E
Tritanopia (blue-blind)
#008C80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8d5b;
/* rgb */ color: rgb(31, 141, 91);
/* oklch */ color: oklch(57.1% 0.123 158.0);
Tailwind
colors: {
  custom: {
    50: '#6daf89',
    500: '#1f8d5b',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d5b;
$custom-light: #6daf89;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d5b",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 91
  },
  "hsl": {
    "h": 152.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57121,
    "c": 0.12321,
    "h": 158
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#1F8D5B
secondary
#BB4D7F
accent
#418CE7
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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