#3A9871#3A9871

#3A9871 is a mid, moderate teal. Relative luminance 0.245; OKLCH L 61.3% C 0.107 H 162.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3A9871
RGBrgb(58, 152, 113)
HSLhsl(155, 45%, 41%)
HSVhsv(155, 62%, 60%)
CMYKcmyk(61.8%, 0%, 25.7%, 40.4%)
CIE-LABlab(56.63, -37.26, 12.46)
CIE-LCHlch(56.63, 39.29, 161.51°)
OKLaboklab(61.3% -0.1026 0.0318)
OKLCHoklch(61.3% 0.107 162.8)
XYZxyz(15.9523, 24.5467, 19.5169)
Luminance0.2455 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A9871 #983A61
analogous
#3A9842 #3A9871 #3A9098
triadic
#3A9871 #713A98 #98713A
tetradic
#3A9871 #423A98 #983A61 #90983A
square
#3A9871 #423A98 #983A61 #90983A
split-complementary
#3A9871 #983A90 #98423A
monochromatic
#183F2F #296C50 #3A9871 #52BD91 #7ECEAD

Accessibility & contrast

On white

3.55
#3A9871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#3A9871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A9871
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A9871#FFFFFF#000000##000000
##3A98711.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968D6F
Deuteranopia (green-blind)
#888473
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #3a9871;
/* rgb */ color: rgb(58, 152, 113);
/* oklch */ color: oklch(61.3% 0.107 162.8);
Tailwind
colors: {
  custom: {
    50: '#7ab79a',
    500: '#3a9871',
    950: '#000000',
  },
}
SCSS
$custom: #3a9871;
$custom-light: #7ab79a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a9871",
  "rgb": {
    "r": 58,
    "g": 152,
    "b": 113
  },
  "hsl": {
    "h": 155.106,
    "s": 44.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.61302,
    "c": 0.1074,
    "h": 162.8
  },
  "luminance": 0.24548
}

Semantic roles & 50–950 ramp

primary
#3A9871
secondary
#B87691
accent
#5389D4
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110E
muted
#7C807E

Preview Lab

Preview with #3A9871

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

Preview Lab → · Contrast checker → · Palette generator →

#3A9871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva