#2F845A#2F845A

#2F845A is a mid, moderate teal. Relative luminance 0.178; OKLCH L 55.1% C 0.105 H 158.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F845A
RGBrgb(47, 132, 90)
HSLhsl(150, 47%, 35%)
HSVhsv(150, 64%, 52%)
CMYKcmyk(64.4%, 0%, 31.8%, 48.2%)
CIE-LABlab(49.31, -35.87, 15.34)
CIE-LCHlch(49.31, 39.01, 156.85°)
OKLaboklab(55.05% -0.0978 0.0389)
OKLCHoklch(55.05% 0.105 158.3)
XYZxyz(11.2680, 17.8439, 12.5213)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F845A #842F59
analogous
#2F8430 #2F845A #2F8384
triadic
#2F845A #5A2F84 #845A2F
tetradic
#2F845A #302F84 #842F59 #83842F
square
#2F845A #302F84 #842F59 #83842F
split-complementary
#2F845A #842F83 #84302F
monochromatic
#0F2A1C #1F573B #2F845A #3FB179 #65C897

Accessibility & contrast

On white

4.60
#2F845A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2F845A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F845A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F845A#FFFFFF#000000##FFFFFF
##2F845A1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837A57
Deuteranopia (green-blind)
#77725D
Tritanopia (blue-blind)
#008379
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f845a;
/* rgb */ color: rgb(47, 132, 90);
/* oklch */ color: oklch(55.1% 0.105 158.3);
Tailwind
colors: {
  custom: {
    50: '#71a889',
    500: '#2f845a',
    950: '#000000',
  },
}
SCSS
$custom: #2f845a;
$custom-light: #71a889;
$custom-dark: #000000;
JSON
{
  "hex": "#2f845a",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 90
  },
  "hsl": {
    "h": 150.353,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55051,
    "c": 0.1052,
    "h": 158.3
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#2F845A
secondary
#AF6087
accent
#5193D7
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2F845A

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

Preview Lab → · Contrast checker → · Palette generator →

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