#1F8F5E#1F8F5E

#1F8F5E is a mid, vivid teal. Relative luminance 0.207; OKLCH L 57.7% C 0.123 H 158.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#1F8F5E
RGBrgb(31, 143, 94)
HSLhsl(154, 64%, 34%)
HSVhsv(154, 78%, 56%)
CMYKcmyk(78.3%, 0%, 34.3%, 43.9%)
CIE-LABlab(52.67, -42.34, 17.60)
CIE-LCHlch(52.67, 45.85, 157.43°)
OKLaboklab(57.74% -0.1148 0.0444)
OKLCHoklch(57.74% 0.123 158.9)
XYZxyz(12.4066, 20.7429, 13.9374)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F5E #8F1F50
analogous
#1F8F26 #1F8F5E #1F888F
triadic
#1F8F5E #5E1F8F #8F5E1F
tetradic
#1F8F5E #261F8F #8F1F50 #888F1F
square
#1F8F5E #261F8F #8F1F50 #888F1F
split-complementary
#1F8F5E #8F1F88 #8F261F
monochromatic
#092A1C #145D3D #1F8F5E #2AC17F #4FD99D

Accessibility & contrast

On white

4.08
#1F8F5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#1F8F5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F5E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F5E#FFFFFF#000000##000000
##1F8F5E1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D835B
Deuteranopia (green-blind)
#807A61
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f8f5e;
/* rgb */ color: rgb(31, 143, 94);
/* oklch */ color: oklch(57.7% 0.123 158.9);
Tailwind
colors: {
  custom: {
    50: '#6eb18c',
    500: '#1f8f5e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f5e;
$custom-light: #6eb18c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f5e",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 94
  },
  "hsl": {
    "h": 153.75,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57736,
    "c": 0.12312,
    "h": 158.9
  },
  "luminance": 0.20744
}

Semantic roles & 50–950 ramp

primary
#1F8F5E
secondary
#BC4E7E
accent
#4089E7
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110C
muted
#7B807D

Preview Lab

Preview with #1F8F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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