#2F9271#2F9271

#2F9271 is a mid, moderate teal. Relative luminance 0.224; OKLCH L 59.4% C 0.105 H 166.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2F9271
RGBrgb(47, 146, 113)
HSLhsl(160, 51%, 38%)
HSVhsv(160, 68%, 57%)
CMYKcmyk(67.8%, 0%, 22.6%, 42.7%)
CIE-LABlab(54.40, -36.71, 9.28)
CIE-LCHlch(54.40, 37.86, 165.82°)
OKLaboklab(59.39% -0.1018 0.0237)
OKLCHoklch(59.39% 0.105 166.9)
XYZxyz(14.4303, 22.3528, 19.1736)
Luminance0.2235 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9271 #922F50
analogous
#2F923F #2F9271 #2F8192
triadic
#2F9271 #712F92 #92712F
tetradic
#2F9271 #3F2F92 #922F50 #81922F
square
#2F9271 #3F2F92 #922F50 #81922F
split-complementary
#2F9271 #922F81 #923F2F
monochromatic
#113529 #20644D #2F9271 #3EC095 #6CD0AE

Accessibility & contrast

On white

3.84
#2F9271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#2F9271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9271
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9271#FFFFFF#000000##000000
##2F92711.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F886F
Deuteranopia (green-blind)
#817E73
Tritanopia (blue-blind)
#009389
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f9271;
/* rgb */ color: rgb(47, 146, 113);
/* oklch */ color: oklch(59.4% 0.105 166.9);
Tailwind
colors: {
  custom: {
    50: '#74b399',
    500: '#2f9271',
    950: '#000000',
  },
}
SCSS
$custom: #2f9271;
$custom-light: #74b399;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9271",
  "rgb": {
    "r": 47,
    "g": 146,
    "b": 113
  },
  "hsl": {
    "h": 160,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59392,
    "c": 0.10456,
    "h": 166.9
  },
  "luminance": 0.22354
}

Semantic roles & 50–950 ramp

primary
#2F9271
secondary
#B76681
accent
#4D7CDB
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2F9271

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

Preview Lab → · Contrast checker → · Palette generator →

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