#1F8D58#1F8D58

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

Color values

HEX#1F8D58
RGBrgb(31, 141, 88)
HSLhsl(151, 64%, 34%)
HSVhsv(151, 78%, 55%)
CMYKcmyk(78%, 0%, 37.6%, 44.7%)
CIE-LABlab(51.89, -42.83, 19.91)
CIE-LCHlch(51.89, 47.23, 155.07°)
OKLaboklab(57.06% -0.1157 0.0499)
OKLCHoklch(57.06% 0.126 156.7)
XYZxyz(11.8502, 20.0442, 12.4750)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D58 #8D1F54
analogous
#1F8D21 #1F8D58 #1F8B8D
triadic
#1F8D58 #581F8D #8D581F
tetradic
#1F8D58 #211F8D #8D1F54 #8B8D1F
square
#1F8D58 #211F8D #8D1F54 #8B8D1F
split-complementary
#1F8D58 #8D1F8B #8D211F
monochromatic
#092919 #145B39 #1F8D58 #2ABF77 #4ED896

Accessibility & contrast

On white

4.19
#1F8D58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8D58#FFFFFF#000000##000000
##1F8D581.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8d58;
/* rgb */ color: rgb(31, 141, 88);
/* oklch */ color: oklch(57.1% 0.126 156.7);
Tailwind
colors: {
  custom: {
    50: '#6daf87',
    500: '#1f8d58',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d58;
$custom-light: #6daf87;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d58",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 88
  },
  "hsl": {
    "h": 151.091,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57055,
    "c": 0.12605,
    "h": 156.7
  },
  "luminance": 0.20046
}

Semantic roles & 50–950 ramp

primary
#1F8D58
secondary
#BB4D82
accent
#4191E7
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8D58

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

Preview Lab → · Contrast checker → · Palette generator →

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