#1F8A58#1F8A58

#1F8A58 is a mid, vivid teal. Relative luminance 0.192; OKLCH L 56.2% C 0.122 H 157.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#1F8A58
RGBrgb(31, 138, 88)
HSLhsl(152, 63%, 33%)
HSVhsv(152, 78%, 54%)
CMYKcmyk(77.5%, 0%, 36.2%, 45.9%)
CIE-LABlab(50.89, -41.63, 18.56)
CIE-LCHlch(50.89, 45.58, 155.96°)
OKLaboklab(56.23% -0.1126 0.0467)
OKLCHoklch(56.23% 0.122 157.5)
XYZxyz(11.4139, 19.1715, 12.3295)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A58 #8A1F51
analogous
#1F8A23 #1F8A58 #1F868A
triadic
#1F8A58 #581F8A #8A581F
tetradic
#1F8A58 #231F8A #8A1F51 #868A1F
square
#1F8A58 #231F8A #8A1F51 #868A1F
split-complementary
#1F8A58 #8A1F86 #8A231F
monochromatic
#092618 #145838 #1F8A58 #2ABC78 #4CD796

Accessibility & contrast

On white

4.34
#1F8A58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#1F8A58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A58
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A58#FFFFFF#000000##000000
##1F8A581.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897F55
Deuteranopia (green-blind)
#7C755B
Tritanopia (blue-blind)
#00897D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8a58;
/* rgb */ color: rgb(31, 138, 88);
/* oklch */ color: oklch(56.2% 0.122 157.5);
Tailwind
colors: {
  custom: {
    50: '#6cad87',
    500: '#1f8a58',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a58;
$custom-light: #6cad87;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a58",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 88
  },
  "hsl": {
    "h": 151.963,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.12194,
    "h": 157.5
  },
  "luminance": 0.19173
}

Semantic roles & 50–950 ramp

primary
#1F8A58
secondary
#BA4B7F
accent
#418FE6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8A58

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

Preview Lab → · Contrast checker → · Palette generator →

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