#2F8762#2F8762

#2F8762 is a mid, moderate teal. Relative luminance 0.188; OKLCH L 56.1% C 0.102 H 162.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2F8762
RGBrgb(47, 135, 98)
HSLhsl(155, 48%, 36%)
HSVhsv(155, 65%, 53%)
CMYKcmyk(65.2%, 0%, 27.4%, 47.1%)
CIE-LABlab(50.47, -35.39, 12.35)
CIE-LCHlch(50.47, 37.48, 160.76°)
OKLaboklab(56.06% -0.0971 0.0315)
OKLCHoklch(56.06% 0.102 162)
XYZxyz(12.0397, 18.8129, 14.5497)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8762 #872F54
analogous
#2F8736 #2F8762 #2F8087
triadic
#2F8762 #622F87 #87622F
tetradic
#2F8762 #362F87 #872F54 #80872F
square
#2F8762 #362F87 #872F54 #80872F
split-complementary
#2F8762 #872F80 #87362F
monochromatic
#0F2C20 #1F5A41 #2F8762 #3FB483 #66CAA0

Accessibility & contrast

On white

4.41
#2F8762 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2F8762 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8762
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8762#FFFFFF#000000##000000
##2F87621.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857D60
Deuteranopia (green-blind)
#797564
Tritanopia (blue-blind)
#00877D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8762;
/* rgb */ color: rgb(47, 135, 98);
/* oklch */ color: oklch(56.1% 0.102 162.0);
Tailwind
colors: {
  custom: {
    50: '#72aa8e',
    500: '#2f8762',
    950: '#000000',
  },
}
SCSS
$custom: #2f8762;
$custom-light: #72aa8e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8762",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 98
  },
  "hsl": {
    "h": 154.773,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56059,
    "c": 0.10212,
    "h": 162
  },
  "luminance": 0.18814
}

Semantic roles & 50–950 ramp

primary
#2F8762
secondary
#B16183
accent
#5089D8
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #2F8762

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

Preview Lab → · Contrast checker → · Palette generator →

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