#1F8962#1F8962

#1F8962 is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.2% C 0.111 H 163.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1F8962
RGBrgb(31, 137, 98)
HSLhsl(158, 63%, 33%)
HSVhsv(158, 77%, 54%)
CMYKcmyk(77.4%, 0%, 28.5%, 46.3%)
CIE-LABlab(50.76, -38.94, 12.70)
CIE-LCHlch(50.76, 40.96, 161.93°)
OKLaboklab(56.19% -0.1066 0.0323)
OKLCHoklch(56.19% 0.111 163.1)
XYZxyz(11.7141, 19.0631, 14.6151)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8962 #891F46
analogous
#1F892D #1F8962 #1F7B89
triadic
#1F8962 #621F89 #89621F
tetradic
#1F8962 #2D1F89 #891F46 #7B891F
square
#1F8962 #2D1F89 #891F46 #7B891F
split-complementary
#1F8962 #891F7B #892D1F
monochromatic
#08251B #14573E #1F8962 #2ABB86 #4CD6A4

Accessibility & contrast

On white

4.36
#1F8962 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#1F8962 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8962
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8962#FFFFFF#000000##000000
##1F89621.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877E60
Deuteranopia (green-blind)
#797565
Tritanopia (blue-blind)
#00897E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8962;
/* rgb */ color: rgb(31, 137, 98);
/* oklch */ color: oklch(56.2% 0.111 163.1);
Tailwind
colors: {
  custom: {
    50: '#6cac8e',
    500: '#1f8962',
    950: '#000000',
  },
}
SCSS
$custom: #1f8962;
$custom-light: #6cac8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8962",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 98
  },
  "hsl": {
    "h": 157.925,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56195,
    "c": 0.1114,
    "h": 163.1
  },
  "luminance": 0.19064
}

Semantic roles & 50–950 ramp

primary
#1F8962
secondary
#B94B73
accent
#427EE6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8962

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

Preview Lab → · Contrast checker → · Palette generator →

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