#1F815C#1F815C

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

Color values

HEX#1F815C
RGBrgb(31, 129, 92)
HSLhsl(157, 61%, 31%)
HSVhsv(157, 76%, 51%)
CMYKcmyk(76%, 0%, 28.7%, 49.4%)
CIE-LABlab(47.96, -36.96, 12.27)
CIE-LCHlch(47.96, 38.94, 161.64°)
OKLaboklab(53.85% -0.1012 0.0312)
OKLCHoklch(53.85% 0.106 162.8)
XYZxyz(10.3460, 16.7633, 12.8135)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F815C #811F44
analogous
#1F812B #1F815C #1F7581
triadic
#1F815C #5C1F81 #815C1F
tetradic
#1F815C #2B1F81 #811F44 #75811F
square
#1F815C #2B1F81 #811F44 #75811F
split-complementary
#1F815C #811F75 #812B1F
monochromatic
#071E16 #135039 #1F815C #2BB27F #47D39E

Accessibility & contrast

On white

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

On black

4.35
#1F815C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F815C#FFFFFF#000000##FFFFFF
##1F815C1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f815c;
/* rgb */ color: rgb(31, 129, 92);
/* oklch */ color: oklch(53.8% 0.106 162.8);
Tailwind
colors: {
  custom: {
    50: '#6aa68a',
    500: '#1f815c',
    950: '#000000',
  },
}
SCSS
$custom: #1f815c;
$custom-light: #6aa68a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f815c",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 92
  },
  "hsl": {
    "h": 157.347,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53849,
    "c": 0.10588,
    "h": 162.8
  },
  "luminance": 0.16765
}

Semantic roles & 50–950 ramp

primary
#1F815C
secondary
#B44871
accent
#4380E4
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #1F815C

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

Preview Lab → · Contrast checker → · Palette generator →

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