#1F815D#1F815D

#1F815D is a mid, moderate teal. Relative luminance 0.168; OKLCH L 53.9% C 0.105 H 163.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#1F815D
RGBrgb(31, 129, 93)
HSLhsl(158, 61%, 31%)
HSVhsv(158, 76%, 51%)
CMYKcmyk(76%, 0%, 27.9%, 49.4%)
CIE-LABlab(47.98, -36.72, 11.72)
CIE-LCHlch(47.98, 38.54, 162.30°)
OKLaboklab(53.87% -0.1007 0.0299)
OKLCHoklch(53.87% 0.105 163.5)
XYZxyz(10.3900, 16.7809, 13.0453)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F815D #811F43
analogous
#1F812C #1F815D #1F7481
triadic
#1F815D #5D1F81 #815D1F
tetradic
#1F815D #2C1F81 #811F43 #74811F
square
#1F815D #2C1F81 #811F43 #74811F
split-complementary
#1F815D #811F74 #812C1F
monochromatic
#071E16 #135039 #1F815D #2BB281 #47D3A0

Accessibility & contrast

On white

4.82
#1F815D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#1F815D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F815D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F815D#FFFFFF#000000##FFFFFF
##1F815D1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F775B
Deuteranopia (green-blind)
#726E5F
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f815d;
/* rgb */ color: rgb(31, 129, 93);
/* oklch */ color: oklch(53.9% 0.105 163.5);
Tailwind
colors: {
  custom: {
    50: '#6aa68b',
    500: '#1f815d',
    950: '#000000',
  },
}
SCSS
$custom: #1f815d;
$custom-light: #6aa68b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f815d",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 93
  },
  "hsl": {
    "h": 157.959,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53875,
    "c": 0.105,
    "h": 163.5
  },
  "luminance": 0.16782
}

Semantic roles & 50–950 ramp

primary
#1F815D
secondary
#B44870
accent
#437FE4
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #1F815D

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

Preview Lab → · Contrast checker → · Palette generator →

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