#2F8767#2F8767

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

Color values

HEX#2F8767
RGBrgb(47, 135, 103)
HSLhsl(158, 48%, 36%)
HSVhsv(158, 65%, 53%)
CMYKcmyk(65.2%, 0%, 23.7%, 47.1%)
CIE-LABlab(50.58, -34.20, 9.63)
CIE-LCHlch(50.58, 35.53, 164.28°)
OKLaboklab(56.19% -0.0946 0.0246)
OKLCHoklch(56.19% 0.098 165.4)
XYZxyz(12.2832, 18.9103, 15.8320)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8767 #872F4F
analogous
#2F873B #2F8767 #2F7B87
triadic
#2F8767 #672F87 #87672F
tetradic
#2F8767 #3B2F87 #872F4F #7B872F
square
#2F8767 #3B2F87 #872F4F #7B872F
split-complementary
#2F8767 #872F7B #873B2F
monochromatic
#0F2C22 #1F5A44 #2F8767 #3FB48A #66CAA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8767#FFFFFF#000000##000000
##2F87671.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)
#847E65
Deuteranopia (green-blind)
#787569
Tritanopia (blue-blind)
#00877E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8767;
/* rgb */ color: rgb(47, 135, 103);
/* oklch */ color: oklch(56.2% 0.098 165.4);
Tailwind
colors: {
  custom: {
    50: '#72aa92',
    500: '#2f8767',
    950: '#000000',
  },
}
SCSS
$custom: #2f8767;
$custom-light: #72aa92;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8767",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 103
  },
  "hsl": {
    "h": 158.182,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56191,
    "c": 0.09779,
    "h": 165.4
  },
  "luminance": 0.18912
}

Semantic roles & 50–950 ramp

primary
#2F8767
secondary
#B1617E
accent
#5081D8
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100D
muted
#7B7F7D

Preview Lab

Preview with #2F8767

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

Preview Lab → · Contrast checker → · Palette generator →

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