#1F8D62#1F8D62

#1F8D62 is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.3% C 0.117 H 161.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1F8D62
RGBrgb(31, 141, 98)
HSLhsl(157, 64%, 34%)
HSVhsv(157, 78%, 55%)
CMYKcmyk(78%, 0%, 30.5%, 44.7%)
CIE-LABlab(52.09, -40.62, 14.54)
CIE-LCHlch(52.09, 43.14, 160.30°)
OKLaboklab(57.29% -0.1108 0.0369)
OKLCHoklch(57.29% 0.117 161.6)
XYZxyz(12.2932, 20.2214, 14.8081)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D62 #8D1F4A
analogous
#1F8D2B #1F8D62 #1F818D
triadic
#1F8D62 #621F8D #8D621F
tetradic
#1F8D62 #2B1F8D #8D1F4A #818D1F
square
#1F8D62 #2B1F8D #8D1F4A #818D1F
split-complementary
#1F8D62 #8D1F81 #8D2B1F
monochromatic
#09291C #145B3F #1F8D62 #2ABF85 #4ED8A2

Accessibility & contrast

On white

4.16
#1F8D62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#1F8D62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D62
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D62#FFFFFF#000000##000000
##1F8D621.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B825F
Deuteranopia (green-blind)
#7D7865
Tritanopia (blue-blind)
#008D81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8d62;
/* rgb */ color: rgb(31, 141, 98);
/* oklch */ color: oklch(57.3% 0.117 161.6);
Tailwind
colors: {
  custom: {
    50: '#6daf8e',
    500: '#1f8d62',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d62;
$custom-light: #6daf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d62",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 98
  },
  "hsl": {
    "h": 156.545,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57285,
    "c": 0.11676,
    "h": 161.6
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

primary
#1F8D62
secondary
#BB4D78
accent
#4182E7
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8D62

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

Preview Lab → · Contrast checker → · Palette generator →

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