#1F8D57#1F8D57

#1F8D57 is a mid, vivid teal. Relative luminance 0.200; OKLCH L 57.0% C 0.127 H 156.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1F8D57
RGBrgb(31, 141, 87)
HSLhsl(151, 64%, 34%)
HSVhsv(151, 78%, 55%)
CMYKcmyk(78%, 0%, 38.3%, 44.7%)
CIE-LABlab(51.87, -43.04, 20.44)
CIE-LCHlch(51.87, 47.65, 154.59°)
OKLaboklab(57.03% -0.1162 0.0512)
OKLCHoklch(57.03% 0.127 156.2)
XYZxyz(11.8091, 20.0278, 12.2583)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D57 #8D1F55
analogous
#1F8D20 #1F8D57 #1F8C8D
triadic
#1F8D57 #571F8D #8D571F
tetradic
#1F8D57 #201F8D #8D1F55 #8C8D1F
square
#1F8D57 #201F8D #8D1F55 #8C8D1F
split-complementary
#1F8D57 #8D1F8C #8D201F
monochromatic
#092919 #145B38 #1F8D57 #2ABF76 #4ED894

Accessibility & contrast

On white

4.20
#1F8D57 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#1F8D57 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D57
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D57#FFFFFF#000000##000000
##1F8D571.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8153
Deuteranopia (green-blind)
#7F785B
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8d57;
/* rgb */ color: rgb(31, 141, 87);
/* oklch */ color: oklch(57.0% 0.127 156.2);
Tailwind
colors: {
  custom: {
    50: '#6daf87',
    500: '#1f8d57',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d57;
$custom-light: #6daf87;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d57",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 87
  },
  "hsl": {
    "h": 150.545,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.12701,
    "h": 156.2
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#1F8D57
secondary
#BB4D83
accent
#4192E7
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8D57

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

Preview Lab → · Contrast checker → · Palette generator →

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