#2F815A#2F815A

#2F815A is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.2% C 0.101 H 159.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2F815A
RGBrgb(47, 129, 90)
HSLhsl(151, 47%, 35%)
HSVhsv(151, 64%, 51%)
CMYKcmyk(63.6%, 0%, 30.2%, 49.4%)
CIE-LABlab(48.31, -34.53, 13.97)
CIE-LCHlch(48.31, 37.25, 157.97°)
OKLaboklab(54.24% -0.0944 0.0355)
OKLCHoklch(54.24% 0.101 159.4)
XYZxyz(10.8670, 17.0419, 12.3876)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F815A #812F56
analogous
#2F8131 #2F815A #2F7F81
triadic
#2F815A #5A2F81 #815A2F
tetradic
#2F815A #312F81 #812F56 #7F812F
square
#2F815A #312F81 #812F56 #7F812F
split-complementary
#2F815A #812F7F #81312F
monochromatic
#0E271B #1F543B #2F815A #3FAE79 #64C698

Accessibility & contrast

On white

4.76
#2F815A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2F815A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F815A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F815A#FFFFFF#000000##FFFFFF
##2F815A1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807758
Deuteranopia (green-blind)
#746F5C
Tritanopia (blue-blind)
#028077
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f815a;
/* rgb */ color: rgb(47, 129, 90);
/* oklch */ color: oklch(54.2% 0.101 159.4);
Tailwind
colors: {
  custom: {
    50: '#71a688',
    500: '#2f815a',
    950: '#000000',
  },
}
SCSS
$custom: #2f815a;
$custom-light: #71a688;
$custom-dark: #000000;
JSON
{
  "hex": "#2f815a",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 90
  },
  "hsl": {
    "h": 151.463,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.10082,
    "h": 159.4
  },
  "luminance": 0.17043
}

Semantic roles & 50–950 ramp

primary
#2F815A
secondary
#AD5E84
accent
#5291D6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2F815A

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

Preview Lab → · Contrast checker → · Palette generator →

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