#1F8957#1F8957

#1F8957 is a mid, vivid teal. Relative luminance 0.189; OKLCH L 55.9% C 0.122 H 157.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#1F8957
RGBrgb(31, 137, 87)
HSLhsl(152, 63%, 33%)
HSVhsv(152, 77%, 54%)
CMYKcmyk(77.4%, 0%, 36.5%, 46.3%)
CIE-LABlab(50.53, -41.44, 18.65)
CIE-LCHlch(50.53, 45.44, 155.77°)
OKLaboklab(55.93% -0.1121 0.0469)
OKLCHoklch(55.93% 0.122 157.3)
XYZxyz(11.2299, 18.8694, 12.0653)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8957 #891F51
analogous
#1F8922 #1F8957 #1F8689
triadic
#1F8957 #571F89 #89571F
tetradic
#1F8957 #221F89 #891F51 #86891F
square
#1F8957 #221F89 #891F51 #86891F
split-complementary
#1F8957 #891F86 #89221F
monochromatic
#082518 #145737 #1F8957 #2ABB77 #4CD695

Accessibility & contrast

On white

4.40
#1F8957 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#1F8957 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8957
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8957#FFFFFF#000000##000000
##1F89571.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887E54
Deuteranopia (green-blind)
#7B755A
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8957;
/* rgb */ color: rgb(31, 137, 87);
/* oklch */ color: oklch(55.9% 0.122 157.3);
Tailwind
colors: {
  custom: {
    50: '#6cac86',
    500: '#1f8957',
    950: '#000000',
  },
}
SCSS
$custom: #1f8957;
$custom-light: #6cac86;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8957",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 87
  },
  "hsl": {
    "h": 151.698,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55934,
    "c": 0.12152,
    "h": 157.3
  },
  "luminance": 0.18871
}

Semantic roles & 50–950 ramp

primary
#1F8957
secondary
#B94B7F
accent
#428FE6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8957

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

Preview Lab → · Contrast checker → · Palette generator →

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