#1F8A63#1F8A63

#1F8A63 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.5% C 0.112 H 163.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1F8A63
RGBrgb(31, 138, 99)
HSLhsl(158, 63%, 33%)
HSVhsv(158, 78%, 54%)
CMYKcmyk(77.5%, 0%, 28.3%, 45.9%)
CIE-LABlab(51.11, -39.12, 12.62)
CIE-LCHlch(51.11, 41.11, 162.12°)
OKLaboklab(56.49% -0.1071 0.0322)
OKLCHoklch(56.49% 0.112 163.3)
XYZxyz(11.9044, 19.3677, 14.9129)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A63 #8A1F46
analogous
#1F8A2D #1F8A63 #1F7B8A
triadic
#1F8A63 #631F8A #8A631F
tetradic
#1F8A63 #2D1F8A #8A1F46 #7B8A1F
square
#1F8A63 #2D1F8A #8A1F46 #7B8A1F
split-complementary
#1F8A63 #8A1F7B #8A2D1F
monochromatic
#09261B #14583F #1F8A63 #2ABC87 #4CD7A4

Accessibility & contrast

On white

4.31
#1F8A63 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#1F8A63 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A63
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A63#FFFFFF#000000##000000
##1F8A631.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877F61
Deuteranopia (green-blind)
#7A7666
Tritanopia (blue-blind)
#008A7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8a63;
/* rgb */ color: rgb(31, 138, 99);
/* oklch */ color: oklch(56.5% 0.112 163.3);
Tailwind
colors: {
  custom: {
    50: '#6dad8f',
    500: '#1f8a63',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a63;
$custom-light: #6dad8f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a63",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 99
  },
  "hsl": {
    "h": 158.131,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.11186,
    "h": 163.3
  },
  "luminance": 0.19369
}

Semantic roles & 50–950 ramp

primary
#1F8A63
secondary
#BA4B73
accent
#417EE6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8A63

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

Preview Lab → · Contrast checker → · Palette generator →

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