#2F9178#2F9178

#2F9178 is a mid, moderate teal. Relative luminance 0.222; OKLCH L 59.3% C 0.098 H 172.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2F9178
RGBrgb(47, 145, 120)
HSLhsl(165, 51%, 38%)
HSVhsv(165, 68%, 57%)
CMYKcmyk(67.6%, 0%, 17.2%, 43.1%)
CIE-LABlab(54.25, -34.49, 5.06)
CIE-LCHlch(54.25, 34.86, 171.66°)
OKLaboklab(59.33% -0.0973 0.0128)
OKLCHoklch(59.33% 0.098 172.5)
XYZxyz(14.6862, 22.2096, 21.2786)
Luminance0.2221 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9178 #912F48
analogous
#2F9147 #2F9178 #2F7991
triadic
#2F9178 #782F91 #91782F
tetradic
#2F9178 #472F91 #912F48 #79912F
square
#2F9178 #472F91 #912F48 #79912F
split-complementary
#2F9178 #912F79 #91472F
monochromatic
#11352B #206352 #2F9178 #3EBF9E #6BCFB6

Accessibility & contrast

On white

3.86
#2F9178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#2F9178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9178
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9178#FFFFFF#000000##000000
##2F91781.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8877
Deuteranopia (green-blind)
#7F7E7A
Tritanopia (blue-blind)
#00928A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f9178;
/* rgb */ color: rgb(47, 145, 120);
/* oklch */ color: oklch(59.3% 0.098 172.5);
Tailwind
colors: {
  custom: {
    50: '#74b29f',
    500: '#2f9178',
    950: '#000000',
  },
}
SCSS
$custom: #2f9178;
$custom-light: #74b29f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9178",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 120
  },
  "hsl": {
    "h": 164.694,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59325,
    "c": 0.09813,
    "h": 172.5
  },
  "luminance": 0.22211
}

Semantic roles & 50–950 ramp

primary
#2F9178
secondary
#B6657A
accent
#4D71DB
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2F9178

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

Preview Lab → · Contrast checker → · Palette generator →

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