#1F8D5D#1F8D5D

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

Color values

HEX#1F8D5D
RGBrgb(31, 141, 93)
HSLhsl(154, 64%, 34%)
HSVhsv(154, 78%, 55%)
CMYKcmyk(78%, 0%, 34%, 44.7%)
CIE-LABlab(51.98, -41.75, 17.23)
CIE-LCHlch(51.98, 45.17, 157.57°)
OKLaboklab(57.17% -0.1133 0.0435)
OKLCHoklch(57.17% 0.121 159)
XYZxyz(12.0645, 20.1299, 13.6034)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D5D #8D1F4F
analogous
#1F8D26 #1F8D5D #1F868D
triadic
#1F8D5D #5D1F8D #8D5D1F
tetradic
#1F8D5D #261F8D #8D1F4F #868D1F
square
#1F8D5D #261F8D #8D1F4F #868D1F
split-complementary
#1F8D5D #8D1F86 #8D261F
monochromatic
#09291B #145B3C #1F8D5D #2ABF7E #4ED89C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8D5D#FFFFFF#000000##000000
##1F8D5D1.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)
#8B825A
Deuteranopia (green-blind)
#7E7860
Tritanopia (blue-blind)
#008C80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8d5d;
/* rgb */ color: rgb(31, 141, 93);
/* oklch */ color: oklch(57.2% 0.121 159.0);
Tailwind
colors: {
  custom: {
    50: '#6daf8b',
    500: '#1f8d5d',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d5d;
$custom-light: #6daf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d5d",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 93
  },
  "hsl": {
    "h": 153.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.12134,
    "h": 159
  },
  "luminance": 0.20131
}

Semantic roles & 50–950 ramp

primary
#1F8D5D
secondary
#BB4D7D
accent
#4189E7
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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