#1F8956#1F8956

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

Color values

HEX#1F8956
RGBrgb(31, 137, 86)
HSLhsl(151, 63%, 33%)
HSVhsv(151, 77%, 54%)
CMYKcmyk(77.4%, 0%, 37.2%, 46.3%)
CIE-LABlab(50.52, -41.65, 19.19)
CIE-LCHlch(50.52, 45.86, 155.26°)
OKLaboklab(55.91% -0.1126 0.0482)
OKLCHoklch(55.91% 0.122 156.8)
XYZxyz(11.1893, 18.8532, 11.8516)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8956 #891F52
analogous
#1F8921 #1F8956 #1F8789
triadic
#1F8956 #561F89 #89561F
tetradic
#1F8956 #211F89 #891F52 #87891F
square
#1F8956 #211F89 #891F52 #87891F
split-complementary
#1F8956 #891F87 #89211F
monochromatic
#082517 #145737 #1F8956 #2ABB75 #4CD694

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8956#FFFFFF#000000##000000
##1F89561.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)
#887E53
Deuteranopia (green-blind)
#7B7559
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8956;
/* rgb */ color: rgb(31, 137, 86);
/* oklch */ color: oklch(55.9% 0.122 156.8);
Tailwind
colors: {
  custom: {
    50: '#6cac86',
    500: '#1f8956',
    950: '#000000',
  },
}
SCSS
$custom: #1f8956;
$custom-light: #6cac86;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8956",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 86
  },
  "hsl": {
    "h": 151.132,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55912,
    "c": 0.12248,
    "h": 156.8
  },
  "luminance": 0.18855
}

Semantic roles & 50–950 ramp

primary
#1F8956
secondary
#B94B80
accent
#4291E6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8956

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

Preview Lab → · Contrast checker → · Palette generator →

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