#1F815F#1F815F

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

Color values

HEX#1F815F
RGBrgb(31, 129, 95)
HSLhsl(159, 61%, 31%)
HSVhsv(159, 76%, 51%)
CMYKcmyk(76%, 0%, 26.4%, 49.4%)
CIE-LABlab(48.03, -36.23, 10.62)
CIE-LCHlch(48.03, 37.75, 163.66°)
OKLaboklab(53.93% -0.0996 0.0271)
OKLCHoklch(53.93% 0.103 164.8)
XYZxyz(10.4797, 16.8168, 13.5179)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F815F #811F41
analogous
#1F812E #1F815F #1F7281
triadic
#1F815F #5F1F81 #815F1F
tetradic
#1F815F #2E1F81 #811F41 #72811F
square
#1F815F #2E1F81 #811F41 #72811F
split-complementary
#1F815F #811F72 #812E1F
monochromatic
#071E16 #13503B #1F815F #2BB283 #47D3A3

Accessibility & contrast

On white

4.81
#1F815F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F815F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F815F#FFFFFF#000000##FFFFFF
##1F815F1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E775D
Deuteranopia (green-blind)
#726E61
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f815f;
/* rgb */ color: rgb(31, 129, 95);
/* oklch */ color: oklch(53.9% 0.103 164.8);
Tailwind
colors: {
  custom: {
    50: '#6aa68c',
    500: '#1f815f',
    950: '#000000',
  },
}
SCSS
$custom: #1f815f;
$custom-light: #6aa68c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f815f",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 95
  },
  "hsl": {
    "h": 159.184,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53928,
    "c": 0.10326,
    "h": 164.8
  },
  "luminance": 0.16818
}

Semantic roles & 50–950 ramp

primary
#1F815F
secondary
#B4486D
accent
#437BE4
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #1F815F

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

Preview Lab → · Contrast checker → · Palette generator →

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