#1F8B5B#1F8B5B

#1F8B5B is a mid, vivid teal. Relative luminance 0.195; OKLCH L 56.6% C 0.120 H 158.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1F8B5B
RGBrgb(31, 139, 91)
HSLhsl(153, 64%, 33%)
HSVhsv(153, 78%, 55%)
CMYKcmyk(77.7%, 0%, 34.5%, 45.5%)
CIE-LABlab(51.28, -41.38, 17.40)
CIE-LCHlch(51.28, 44.89, 157.19°)
OKLaboklab(56.57% -0.1122 0.0439)
OKLCHoklch(56.57% 0.12 158.6)
XYZxyz(11.6848, 19.5105, 13.0456)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B5B #8B1F4F
analogous
#1F8B25 #1F8B5B #1F858B
triadic
#1F8B5B #5B1F8B #8B5B1F
tetradic
#1F8B5B #251F8B #8B1F4F #858B1F
square
#1F8B5B #251F8B #8B1F4F #858B1F
split-complementary
#1F8B5B #8B1F85 #8B251F
monochromatic
#092719 #14593A #1F8B5B #2ABD7C #4DD79A

Accessibility & contrast

On white

4.28
#1F8B5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#1F8B5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B5B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B5B#FFFFFF#000000##000000
##1F8B5B1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8058
Deuteranopia (green-blind)
#7D765E
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8b5b;
/* rgb */ color: rgb(31, 139, 91);
/* oklch */ color: oklch(56.6% 0.120 158.6);
Tailwind
colors: {
  custom: {
    50: '#6dae89',
    500: '#1f8b5b',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b5b;
$custom-light: #6dae89;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b5b",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 91
  },
  "hsl": {
    "h": 153.333,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.12049,
    "h": 158.6
  },
  "luminance": 0.19512
}

Semantic roles & 50–950 ramp

primary
#1F8B5B
secondary
#BA4C7D
accent
#418BE7
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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