#1F8D5C#1F8D5C

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

Color values

HEX#1F8D5C
RGBrgb(31, 141, 92)
HSLhsl(153, 64%, 34%)
HSVhsv(153, 78%, 55%)
CMYKcmyk(78%, 0%, 34.8%, 44.7%)
CIE-LABlab(51.96, -41.97, 17.77)
CIE-LCHlch(51.96, 45.58, 157.06°)
OKLaboklab(57.14% -0.1138 0.0448)
OKLCHoklch(57.14% 0.122 158.5)
XYZxyz(12.0205, 20.1123, 13.3717)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D5C #8D1F50
analogous
#1F8D25 #1F8D5C #1F878D
triadic
#1F8D5C #5C1F8D #8D5C1F
tetradic
#1F8D5C #251F8D #8D1F50 #878D1F
square
#1F8D5C #251F8D #8D1F50 #878D1F
split-complementary
#1F8D5C #8D1F87 #8D251F
monochromatic
#09291B #145B3B #1F8D5C #2ABF7D #4ED89B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8D5C#FFFFFF#000000##000000
##1F8D5C1.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)
#8C8259
Deuteranopia (green-blind)
#7E785F
Tritanopia (blue-blind)
#008C80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8d5c;
/* rgb */ color: rgb(31, 141, 92);
/* oklch */ color: oklch(57.1% 0.122 158.5);
Tailwind
colors: {
  custom: {
    50: '#6daf8a',
    500: '#1f8d5c',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d5c;
$custom-light: #6daf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d5c",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 92
  },
  "hsl": {
    "h": 153.273,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57144,
    "c": 0.12227,
    "h": 158.5
  },
  "luminance": 0.20114
}

Semantic roles & 50–950 ramp

primary
#1F8D5C
secondary
#BB4D7E
accent
#418BE7
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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