#2F9870#2F9870

#2F9870 is a mid, moderate teal. Relative luminance 0.242; OKLCH L 61.0% C 0.113 H 163.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2F9870
RGBrgb(47, 152, 112)
HSLhsl(157, 53%, 39%)
HSVhsv(157, 69%, 60%)
CMYKcmyk(69.1%, 0%, 26.3%, 40.4%)
CIE-LABlab(56.32, -39.58, 12.54)
CIE-LCHlch(56.32, 41.52, 162.42°)
OKLaboklab(60.95% -0.1088 0.032)
OKLCHoklch(60.95% 0.113 163.6)
XYZxyz(15.3236, 24.2290, 19.1952)
Luminance0.2423 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9870 #982F57
analogous
#2F983C #2F9870 #2F8C98
triadic
#2F9870 #702F98 #98702F
tetradic
#2F9870 #3C2F98 #982F57 #8C982F
square
#2F9870 #3C2F98 #982F57 #8C982F
split-complementary
#2F9870 #982F8C #983C2F
monochromatic
#123B2B #21694E #2F9870 #40C492 #6FD2AD

Accessibility & contrast

On white

3.59
#2F9870 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#2F9870 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9870
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9870#FFFFFF#000000##000000
##2F98701.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958D6E
Deuteranopia (green-blind)
#878373
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2f9870;
/* rgb */ color: rgb(47, 152, 112);
/* oklch */ color: oklch(61.0% 0.113 163.6);
Tailwind
colors: {
  custom: {
    50: '#75b799',
    500: '#2f9870',
    950: '#000000',
  },
}
SCSS
$custom: #2f9870;
$custom-light: #75b799;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9870",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 112
  },
  "hsl": {
    "h": 157.143,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60954,
    "c": 0.11341,
    "h": 163.6
  },
  "luminance": 0.24231
}

Semantic roles & 50–950 ramp

primary
#2F9870
secondary
#BA6988
accent
#4C83DC
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #2F9870

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

Preview Lab → · Contrast checker → · Palette generator →

#2F9870 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva