#2F9874#2F9874

#2F9874 is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.1% C 0.110 H 166.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2F9874
RGBrgb(47, 152, 116)
HSLhsl(159, 53%, 39%)
HSVhsv(159, 69%, 60%)
CMYKcmyk(69.1%, 0%, 23.7%, 40.4%)
CIE-LABlab(56.41, -38.63, 10.41)
CIE-LCHlch(56.41, 40.00, 164.92°)
OKLaboklab(61.06% -0.1068 0.0266)
OKLCHoklch(61.06% 0.11 166)
XYZxyz(15.5512, 24.3200, 20.3943)
Luminance0.2432 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9874 #982F53
analogous
#2F9840 #2F9874 #2F8898
triadic
#2F9874 #742F98 #98742F
tetradic
#2F9874 #402F98 #982F53 #88982F
square
#2F9874 #402F98 #982F53 #88982F
split-complementary
#2F9874 #982F88 #98402F
monochromatic
#123B2D #216950 #2F9874 #40C497 #6FD2B0

Accessibility & contrast

On white

3.58
#2F9874 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#2F9874 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9874
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9874#FFFFFF#000000##000000
##2F98741.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958D72
Deuteranopia (green-blind)
#878376
Tritanopia (blue-blind)
#00988E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2f9874;
/* rgb */ color: rgb(47, 152, 116);
/* oklch */ color: oklch(61.1% 0.110 166.0);
Tailwind
colors: {
  custom: {
    50: '#75b79c',
    500: '#2f9874',
    950: '#000000',
  },
}
SCSS
$custom: #2f9874;
$custom-light: #75b79c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9874",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 116
  },
  "hsl": {
    "h": 159.429,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.1101,
    "h": 166
  },
  "luminance": 0.24322
}

Semantic roles & 50–950 ramp

primary
#2F9874
secondary
#BA6985
accent
#4C7DDC
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2F9874

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

Preview Lab → · Contrast checker → · Palette generator →

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