#1F8A62#1F8A62

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

Color values

HEX#1F8A62
RGBrgb(31, 138, 98)
HSLhsl(158, 63%, 33%)
HSVhsv(158, 78%, 54%)
CMYKcmyk(77.5%, 0%, 29%, 45.9%)
CIE-LABlab(51.09, -39.36, 13.16)
CIE-LCHlch(51.09, 41.50, 161.51°)
OKLaboklab(56.47% -0.1076 0.0335)
OKLCHoklch(56.47% 0.113 162.7)
XYZxyz(11.8569, 19.3487, 14.6627)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A62 #8A1F47
analogous
#1F8A2C #1F8A62 #1F7C8A
triadic
#1F8A62 #621F8A #8A621F
tetradic
#1F8A62 #2C1F8A #8A1F47 #7C8A1F
square
#1F8A62 #2C1F8A #8A1F47 #7C8A1F
split-complementary
#1F8A62 #8A1F7C #8A2C1F
monochromatic
#09261B #14583F #1F8A62 #2ABC85 #4CD7A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8A62#FFFFFF#000000##000000
##1F8A621.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)
#887F60
Deuteranopia (green-blind)
#7A7665
Tritanopia (blue-blind)
#008A7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8a62;
/* rgb */ color: rgb(31, 138, 98);
/* oklch */ color: oklch(56.5% 0.113 162.7);
Tailwind
colors: {
  custom: {
    50: '#6cad8e',
    500: '#1f8a62',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a62;
$custom-light: #6cad8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a62",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 98
  },
  "hsl": {
    "h": 157.57,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56468,
    "c": 0.11274,
    "h": 162.7
  },
  "luminance": 0.1935
}

Semantic roles & 50–950 ramp

primary
#1F8A62
secondary
#BA4B74
accent
#417FE6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8A62

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

Preview Lab → · Contrast checker → · Palette generator →

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