#1F8958#1F8958

#1F8958 is a mid, vivid teal. Relative luminance 0.189; OKLCH L 56.0% C 0.121 H 157.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1F8958
RGBrgb(31, 137, 88)
HSLhsl(152, 63%, 33%)
HSVhsv(152, 77%, 54%)
CMYKcmyk(77.4%, 0%, 35.8%, 46.3%)
CIE-LABlab(50.55, -41.22, 18.11)
CIE-LCHlch(50.55, 45.02, 156.28°)
OKLaboklab(55.96% -0.1116 0.0456)
OKLCHoklch(55.96% 0.121 157.8)
XYZxyz(11.2711, 18.8859, 12.2819)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8958 #891F50
analogous
#1F8923 #1F8958 #1F8589
triadic
#1F8958 #581F89 #89581F
tetradic
#1F8958 #231F89 #891F50 #85891F
square
#1F8958 #231F89 #891F50 #85891F
split-complementary
#1F8958 #891F85 #89231F
monochromatic
#082518 #145738 #1F8958 #2ABB78 #4CD696

Accessibility & contrast

On white

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

On black

4.78
#1F8958 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8958
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8958#FFFFFF#000000##000000
##1F89581.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8958;
/* rgb */ color: rgb(31, 137, 88);
/* oklch */ color: oklch(56.0% 0.121 157.8);
Tailwind
colors: {
  custom: {
    50: '#6cac87',
    500: '#1f8958',
    950: '#000000',
  },
}
SCSS
$custom: #1f8958;
$custom-light: #6cac87;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8958",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 88
  },
  "hsl": {
    "h": 152.264,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.12058,
    "h": 157.8
  },
  "luminance": 0.18887
}

Semantic roles & 50–950 ramp

primary
#1F8958
secondary
#B94B7E
accent
#428EE6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8958

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

Preview Lab → · Contrast checker → · Palette generator →

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