#1F8156#1F8156

#1F8156 is a mid, moderate teal. Relative luminance 0.167; OKLCH L 53.7% C 0.111 H 159.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#1F8156
RGBrgb(31, 129, 86)
HSLhsl(154, 61%, 31%)
HSVhsv(154, 76%, 51%)
CMYKcmyk(76%, 0%, 33.3%, 49.4%)
CIE-LABlab(47.83, -38.36, 15.55)
CIE-LCHlch(47.83, 41.39, 157.93°)
OKLaboklab(53.7% -0.1042 0.0393)
OKLCHoklch(53.7% 0.111 159.3)
XYZxyz(10.0940, 16.6625, 11.4865)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8156 #811F4A
analogous
#1F8125 #1F8156 #1F7B81
triadic
#1F8156 #561F81 #81561F
tetradic
#1F8156 #251F81 #811F4A #7B811F
square
#1F8156 #251F81 #811F4A #7B811F
split-complementary
#1F8156 #811F7B #81251F
monochromatic
#071E14 #135035 #1F8156 #2BB277 #47D396

Accessibility & contrast

On white

4.85
#1F8156 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#1F8156 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8156
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8156#FFFFFF#000000##FFFFFF
##1F81561.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807753
Deuteranopia (green-blind)
#736E59
Tritanopia (blue-blind)
#008076
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8156;
/* rgb */ color: rgb(31, 129, 86);
/* oklch */ color: oklch(53.7% 0.111 159.3);
Tailwind
colors: {
  custom: {
    50: '#6aa686',
    500: '#1f8156',
    950: '#000000',
  },
}
SCSS
$custom: #1f8156;
$custom-light: #6aa686;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8156",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 86
  },
  "hsl": {
    "h": 153.673,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.1114,
    "h": 159.3
  },
  "luminance": 0.16664
}

Semantic roles & 50–950 ramp

primary
#1F8156
secondary
#B44877
accent
#438AE4
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #1F8156

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

Preview Lab → · Contrast checker → · Palette generator →

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