#1F8D5E#1F8D5E

#1F8D5E is a mid, vivid teal. Relative luminance 0.201; OKLCH L 57.2% C 0.120 H 159.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1F8D5E
RGBrgb(31, 141, 94)
HSLhsl(154, 64%, 34%)
HSVhsv(154, 78%, 55%)
CMYKcmyk(78%, 0%, 33.3%, 44.7%)
CIE-LABlab(52.00, -41.53, 16.69)
CIE-LCHlch(52.00, 44.76, 158.10°)
OKLaboklab(57.19% -0.1128 0.0422)
OKLCHoklch(57.19% 0.12 159.5)
XYZxyz(12.1091, 20.1478, 13.8382)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D5E #8D1F4E
analogous
#1F8D27 #1F8D5E #1F858D
triadic
#1F8D5E #5E1F8D #8D5E1F
tetradic
#1F8D5E #271F8D #8D1F4E #858D1F
square
#1F8D5E #271F8D #8D1F4E #858D1F
split-complementary
#1F8D5E #8D1F85 #8D271F
monochromatic
#09291B #145B3D #1F8D5E #2ABF7F #4ED89D

Accessibility & contrast

On white

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

On black

5.03
#1F8D5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D5E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D5E#FFFFFF#000000##000000
##1F8D5E1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B825B
Deuteranopia (green-blind)
#7E7861
Tritanopia (blue-blind)
#008C81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8d5e;
/* rgb */ color: rgb(31, 141, 94);
/* oklch */ color: oklch(57.2% 0.120 159.5);
Tailwind
colors: {
  custom: {
    50: '#6daf8c',
    500: '#1f8d5e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d5e;
$custom-light: #6daf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d5e",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 94
  },
  "hsl": {
    "h": 154.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5719,
    "c": 0.12041,
    "h": 159.5
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

primary
#1F8D5E
secondary
#BB4D7C
accent
#4188E7
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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