#1F9762#1F9762

#1F9762 is a mid, vivid teal. Relative luminance 0.233; OKLCH L 60.0% C 0.130 H 158.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#1F9762
RGBrgb(31, 151, 98)
HSLhsl(154, 66%, 36%)
HSVhsv(154, 79%, 59%)
CMYKcmyk(79.5%, 0%, 35.1%, 40.8%)
CIE-LABlab(55.38, -44.68, 19.05)
CIE-LCHlch(55.38, 48.57, 156.91°)
OKLaboklab(60% -0.121 0.048)
OKLCHoklch(60% 0.13 158.4)
XYZxyz(13.8349, 23.3047, 15.3220)
Luminance0.2331 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9762 #971F54
analogous
#1F9726 #1F9762 #1F9097
triadic
#1F9762 #621F97 #97621F
tetradic
#1F9762 #261F97 #971F54 #90971F
square
#1F9762 #261F97 #971F54 #90971F
split-complementary
#1F9762 #971F90 #97261F
monochromatic
#0A3120 #156441 #1F9762 #29CA83 #54DCA0

Accessibility & contrast

On white

3.71
#1F9762 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#1F9762 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9762
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9762#FFFFFF#000000##000000
##1F97621.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968B5F
Deuteranopia (green-blind)
#878165
Tritanopia (blue-blind)
#009689
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9762;
/* rgb */ color: rgb(31, 151, 98);
/* oklch */ color: oklch(60.0% 0.130 158.4);
Tailwind
colors: {
  custom: {
    50: '#6fb68f',
    500: '#1f9762',
    950: '#000000',
  },
}
SCSS
$custom: #1f9762;
$custom-light: #6fb68f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9762",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 98
  },
  "hsl": {
    "h": 153.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60002,
    "c": 0.13016,
    "h": 158.4
  },
  "luminance": 0.23306
}

Semantic roles & 50–950 ramp

primary
#1F9762
secondary
#BF5283
accent
#3F8AE9
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #1F9762

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

Preview Lab → · Contrast checker → · Palette generator →

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