#1F8762#1F8762

#1F8762 is a mid, moderate teal. Relative luminance 0.185; OKLCH L 55.6% C 0.109 H 164.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1F8762
RGBrgb(31, 135, 98)
HSLhsl(159, 63%, 33%)
HSVhsv(159, 77%, 53%)
CMYKcmyk(77%, 0%, 27.4%, 47.1%)
CIE-LABlab(50.10, -38.09, 11.78)
CIE-LCHlch(50.10, 39.86, 162.82°)
OKLaboklab(55.65% -0.1045 0.03)
OKLCHoklch(55.65% 0.109 164)
XYZxyz(11.4324, 18.4997, 14.5212)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8762 #871F44
analogous
#1F872E #1F8762 #1F7887
triadic
#1F8762 #621F87 #87621F
tetradic
#1F8762 #2E1F87 #871F44 #78871F
square
#1F8762 #2E1F87 #871F44 #78871F
split-complementary
#1F8762 #871F78 #872E1F
monochromatic
#08231A #14553E #1F8762 #2AB986 #4BD6A4

Accessibility & contrast

On white

4.47
#1F8762 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#1F8762 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8762
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8762#FFFFFF#000000##000000
##1F87621.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#847D60
Deuteranopia (green-blind)
#777364
Tritanopia (blue-blind)
#00877D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8762;
/* rgb */ color: rgb(31, 135, 98);
/* oklch */ color: oklch(55.6% 0.109 164.0);
Tailwind
colors: {
  custom: {
    50: '#6cab8e',
    500: '#1f8762',
    950: '#000000',
  },
}
SCSS
$custom: #1f8762;
$custom-light: #6cab8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8762",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 98
  },
  "hsl": {
    "h": 158.654,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55649,
    "c": 0.10872,
    "h": 164
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

primary
#1F8762
secondary
#B84A71
accent
#427CE6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8762

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

Preview Lab → · Contrast checker → · Palette generator →

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