#1F8A61#1F8A61

#1F8A61 is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.4% C 0.114 H 162.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1F8A61
RGBrgb(31, 138, 97)
HSLhsl(157, 63%, 33%)
HSVhsv(157, 78%, 54%)
CMYKcmyk(77.5%, 0%, 29.7%, 45.9%)
CIE-LABlab(51.07, -39.60, 13.71)
CIE-LCHlch(51.07, 41.90, 160.91°)
OKLaboklab(56.44% -0.1081 0.0349)
OKLCHoklch(56.44% 0.114 162.1)
XYZxyz(11.8099, 19.3299, 14.4156)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A61 #8A1F48
analogous
#1F8A2B #1F8A61 #1F7D8A
triadic
#1F8A61 #611F8A #8A611F
tetradic
#1F8A61 #2B1F8A #8A1F48 #7D8A1F
square
#1F8A61 #2B1F8A #8A1F48 #7D8A1F
split-complementary
#1F8A61 #8A1F7D #8A2B1F
monochromatic
#09261B #14583E #1F8A61 #2ABC84 #4CD7A2

Accessibility & contrast

On white

4.32
#1F8A61 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8A61#FFFFFF#000000##000000
##1F8A611.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887F5F
Deuteranopia (green-blind)
#7B7664
Tritanopia (blue-blind)
#008A7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8a61;
/* rgb */ color: rgb(31, 138, 97);
/* oklch */ color: oklch(56.4% 0.114 162.1);
Tailwind
colors: {
  custom: {
    50: '#6cad8e',
    500: '#1f8a61',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a61;
$custom-light: #6cad8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a61",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 97
  },
  "hsl": {
    "h": 157.009,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56443,
    "c": 0.11363,
    "h": 162.1
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#1F8A61
secondary
#BA4B75
accent
#4181E6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8A61

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

Preview Lab → · Contrast checker → · Palette generator →

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