#1F8157#1F8157

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

Color values

HEX#1F8157
RGBrgb(31, 129, 87)
HSLhsl(154, 61%, 31%)
HSVhsv(154, 76%, 51%)
CMYKcmyk(76%, 0%, 32.6%, 49.4%)
CIE-LABlab(47.85, -38.13, 15.01)
CIE-LCHlch(47.85, 40.98, 158.52°)
OKLaboklab(53.73% -0.1037 0.038)
OKLCHoklch(53.73% 0.11 159.9)
XYZxyz(10.1346, 16.6788, 11.7002)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8157 #811F49
analogous
#1F8126 #1F8157 #1F7A81
triadic
#1F8157 #571F81 #81571F
tetradic
#1F8157 #261F81 #811F49 #7A811F
square
#1F8157 #261F81 #811F49 #7A811F
split-complementary
#1F8157 #811F7A #81261F
monochromatic
#071E14 #135036 #1F8157 #2BB278 #47D397

Accessibility & contrast

On white

4.84
#1F8157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1F8157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8157
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8157#FFFFFF#000000##FFFFFF
##1F81571.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7754
Deuteranopia (green-blind)
#736E5A
Tritanopia (blue-blind)
#008076
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8157;
/* rgb */ color: rgb(31, 129, 87);
/* oklch */ color: oklch(53.7% 0.110 159.9);
Tailwind
colors: {
  custom: {
    50: '#6aa686',
    500: '#1f8157',
    950: '#000000',
  },
}
SCSS
$custom: #1f8157;
$custom-light: #6aa686;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8157",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 87
  },
  "hsl": {
    "h": 154.286,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53725,
    "c": 0.11047,
    "h": 159.9
  },
  "luminance": 0.1668
}

Semantic roles & 50–950 ramp

primary
#1F8157
secondary
#B44876
accent
#4388E4
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #1F8157

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

Preview Lab → · Contrast checker → · Palette generator →

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