#1F8261#1F8261

#1F8261 is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.3% C 0.103 H 165.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1F8261
RGBrgb(31, 130, 97)
HSLhsl(160, 61%, 32%)
HSVhsv(160, 76%, 51%)
CMYKcmyk(76.2%, 0%, 25.4%, 49%)
CIE-LABlab(48.41, -36.17, 9.99)
CIE-LCHlch(48.41, 37.52, 164.56°)
OKLaboklab(54.26% -0.0997 0.0255)
OKLCHoklch(54.26% 0.103 165.6)
XYZxyz(10.7042, 17.1184, 14.0470)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8261 #821F40
analogous
#1F8230 #1F8261 #1F7282
triadic
#1F8261 #611F82 #82611F
tetradic
#1F8261 #301F82 #821F40 #72821F
square
#1F8261 #301F82 #821F40 #72821F
split-complementary
#1F8261 #821F72 #82301F
monochromatic
#071F17 #13513C #1F8261 #2BB386 #48D3A5

Accessibility & contrast

On white

4.75
#1F8261 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#1F8261 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8261
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8261#FFFFFF#000000##FFFFFF
##1F82611.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F785F
Deuteranopia (green-blind)
#736F63
Tritanopia (blue-blind)
#008279
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8261;
/* rgb */ color: rgb(31, 130, 97);
/* oklch */ color: oklch(54.3% 0.103 165.6);
Tailwind
colors: {
  custom: {
    50: '#6ba78e',
    500: '#1f8261',
    950: '#000000',
  },
}
SCSS
$custom: #1f8261;
$custom-light: #6ba78e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8261",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 97
  },
  "hsl": {
    "h": 160,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54255,
    "c": 0.1029,
    "h": 165.6
  },
  "luminance": 0.1712
}

Semantic roles & 50–950 ramp

primary
#1F8261
secondary
#B5486C
accent
#4379E5
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0C
muted
#7A7F7D

Preview Lab

Preview with #1F8261

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

Preview Lab → · Contrast checker → · Palette generator →

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