#1F8460#1F8460

#1F8460 is a mid, moderate teal. Relative luminance 0.176; OKLCH L 54.8% C 0.106 H 164.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#1F8460
RGBrgb(31, 132, 96)
HSLhsl(159, 62%, 32%)
HSVhsv(159, 77%, 52%)
CMYKcmyk(76.5%, 0%, 27.3%, 48.2%)
CIE-LABlab(49.05, -37.28, 11.47)
CIE-LCHlch(49.05, 39.01, 162.89°)
OKLaboklab(54.78% -0.1023 0.0293)
OKLCHoklch(54.78% 0.106 164)
XYZxyz(10.9265, 17.6371, 13.8925)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8460 #841F43
analogous
#1F842E #1F8460 #1F7684
triadic
#1F8460 #601F84 #84601F
tetradic
#1F8460 #2E1F84 #841F43 #76841F
square
#1F8460 #2E1F84 #841F43 #76841F
split-complementary
#1F8460 #841F76 #842E1F
monochromatic
#082118 #13523C #1F8460 #2BB684 #49D4A3

Accessibility & contrast

On white

4.64
#1F8460 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#1F8460 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8460
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8460#FFFFFF#000000##FFFFFF
##1F84601.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817A5E
Deuteranopia (green-blind)
#757162
Tritanopia (blue-blind)
#00847A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8460;
/* rgb */ color: rgb(31, 132, 96);
/* oklch */ color: oklch(54.8% 0.106 164.0);
Tailwind
colors: {
  custom: {
    50: '#6ba88d',
    500: '#1f8460',
    950: '#000000',
  },
}
SCSS
$custom: #1f8460;
$custom-light: #6ba88d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8460",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 96
  },
  "hsl": {
    "h": 158.614,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54777,
    "c": 0.10643,
    "h": 164
  },
  "luminance": 0.17638
}

Semantic roles & 50–950 ramp

primary
#1F8460
secondary
#B74870
accent
#437DE5
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #1F8460

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

Preview Lab → · Contrast checker → · Palette generator →

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