#1F8D56#1F8D56

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

Color values

HEX#1F8D56
RGBrgb(31, 141, 86)
HSLhsl(150, 64%, 34%)
HSVhsv(150, 78%, 55%)
CMYKcmyk(78%, 0%, 39%, 44.7%)
CIE-LABlab(51.85, -43.25, 20.97)
CIE-LCHlch(51.85, 48.07, 154.13°)
OKLaboklab(57.01% -0.1167 0.0525)
OKLCHoklch(57.01% 0.128 155.8)
XYZxyz(11.7685, 20.0115, 12.0447)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D56 #8D1F56
analogous
#1F8D1F #1F8D56 #1F8D8D
triadic
#1F8D56 #561F8D #8D561F
tetradic
#1F8D56 #1F1F8D #8D1F56 #8D8D1F
square
#1F8D56 #1F1F8D #8D1F56 #8D8D1F
split-complementary
#1F8D56 #8D1F8D #8D1F1F
monochromatic
#092919 #145B37 #1F8D56 #2ABF75 #4ED893

Accessibility & contrast

On white

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

On black

5.00
#1F8D56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D56
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D56#FFFFFF#000000##000000
##1F8D561.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8d56;
/* rgb */ color: rgb(31, 141, 86);
/* oklch */ color: oklch(57.0% 0.128 155.8);
Tailwind
colors: {
  custom: {
    50: '#6daf86',
    500: '#1f8d56',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d56;
$custom-light: #6daf86;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d56",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 86
  },
  "hsl": {
    "h": 150,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57013,
    "c": 0.12796,
    "h": 155.8
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#1F8D56
secondary
#BB4D84
accent
#4194E7
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8D56

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

Preview Lab → · Contrast checker → · Palette generator →

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