#1F8D5F#1F8D5F

#1F8D5F is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.2% C 0.119 H 160.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1F8D5F
RGBrgb(31, 141, 95)
HSLhsl(155, 64%, 34%)
HSVhsv(155, 78%, 55%)
CMYKcmyk(78%, 0%, 32.6%, 44.7%)
CIE-LABlab(52.02, -41.30, 16.16)
CIE-LCHlch(52.02, 44.35, 158.64°)
OKLaboklab(57.21% -0.1123 0.0409)
OKLCHoklch(57.21% 0.119 160)
XYZxyz(12.1542, 20.1658, 14.0761)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D5F #8D1F4D
analogous
#1F8D28 #1F8D5F #1F848D
triadic
#1F8D5F #5F1F8D #8D5F1F
tetradic
#1F8D5F #281F8D #8D1F4D #848D1F
square
#1F8D5F #281F8D #8D1F4D #848D1F
split-complementary
#1F8D5F #8D1F84 #8D281F
monochromatic
#09291B #145B3D #1F8D5F #2ABF81 #4ED89E

Accessibility & contrast

On white

4.17
#1F8D5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8D5F#FFFFFF#000000##000000
##1F8D5F1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8d5f;
/* rgb */ color: rgb(31, 141, 95);
/* oklch */ color: oklch(57.2% 0.119 160.0);
Tailwind
colors: {
  custom: {
    50: '#6daf8c',
    500: '#1f8d5f',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d5f;
$custom-light: #6daf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d5f",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 95
  },
  "hsl": {
    "h": 154.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57213,
    "c": 0.11949,
    "h": 160
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#1F8D5F
secondary
#BB4D7B
accent
#4186E7
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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