#2F8766#2F8766

#2F8766 is a mid, moderate teal. Relative luminance 0.189; OKLCH L 56.2% C 0.099 H 164.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F8766
RGBrgb(47, 135, 102)
HSLhsl(158, 48%, 36%)
HSVhsv(158, 65%, 53%)
CMYKcmyk(65.2%, 0%, 24.4%, 47.1%)
CIE-LABlab(50.56, -34.44, 10.17)
CIE-LCHlch(50.56, 35.91, 163.55°)
OKLaboklab(56.16% -0.0951 0.026)
OKLCHoklch(56.16% 0.099 164.7)
XYZxyz(12.2333, 18.8903, 15.5693)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8766 #872F50
analogous
#2F873A #2F8766 #2F7C87
triadic
#2F8766 #662F87 #87662F
tetradic
#2F8766 #3A2F87 #872F50 #7C872F
square
#2F8766 #3A2F87 #872F50 #7C872F
split-complementary
#2F8766 #872F7C #873A2F
monochromatic
#0F2C21 #1F5A44 #2F8766 #3FB488 #66CAA5

Accessibility & contrast

On white

4.39
#2F8766 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2F8766 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8766
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8766#FFFFFF#000000##000000
##2F87661.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#847E64
Deuteranopia (green-blind)
#787568
Tritanopia (blue-blind)
#00877E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8766;
/* rgb */ color: rgb(47, 135, 102);
/* oklch */ color: oklch(56.2% 0.099 164.7);
Tailwind
colors: {
  custom: {
    50: '#72aa91',
    500: '#2f8766',
    950: '#000000',
  },
}
SCSS
$custom: #2f8766;
$custom-light: #72aa91;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8766",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 102
  },
  "hsl": {
    "h": 157.5,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.09863,
    "h": 164.7
  },
  "luminance": 0.18892
}

Semantic roles & 50–950 ramp

primary
#2F8766
secondary
#B1617F
accent
#5083D8
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #2F8766

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

Preview Lab → · Contrast checker → · Palette generator →

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