#1F8262#1F8262

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

Color values

HEX#1F8262
RGBrgb(31, 130, 98)
HSLhsl(161, 61%, 32%)
HSVhsv(161, 76%, 51%)
CMYKcmyk(76.2%, 0%, 24.6%, 49%)
CIE-LABlab(48.43, -35.92, 9.44)
CIE-LCHlch(48.43, 37.14, 165.27°)
OKLaboklab(54.28% -0.0992 0.0241)
OKLCHoklch(54.28% 0.102 166.3)
XYZxyz(10.7511, 17.1371, 14.2941)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8262 #821F3F
analogous
#1F8231 #1F8262 #1F7182
triadic
#1F8262 #621F82 #82621F
tetradic
#1F8262 #311F82 #821F3F #71821F
square
#1F8262 #311F82 #821F3F #71821F
split-complementary
#1F8262 #821F71 #82311F
monochromatic
#071F17 #13513D #1F8262 #2BB387 #48D3A6

Accessibility & contrast

On white

4.74
#1F8262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#1F8262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8262
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8262#FFFFFF#000000##FFFFFF
##1F82621.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7860
Deuteranopia (green-blind)
#726F64
Tritanopia (blue-blind)
#008279
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8262;
/* rgb */ color: rgb(31, 130, 98);
/* oklch */ color: oklch(54.3% 0.102 166.3);
Tailwind
colors: {
  custom: {
    50: '#6ba78e',
    500: '#1f8262',
    950: '#000000',
  },
}
SCSS
$custom: #1f8262;
$custom-light: #6ba78e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8262",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 98
  },
  "hsl": {
    "h": 160.606,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54283,
    "c": 0.10207,
    "h": 166.3
  },
  "luminance": 0.17138
}

Semantic roles & 50–950 ramp

primary
#1F8262
secondary
#B5486B
accent
#4377E5
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0C
muted
#7A7F7D

Preview Lab

Preview with #1F8262

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

Preview Lab → · Contrast checker → · Palette generator →

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