#2F8162#2F8162

#2F8162 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.4% C 0.094 H 164.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F8162
RGBrgb(47, 129, 98)
HSLhsl(157, 47%, 35%)
HSVhsv(157, 64%, 51%)
CMYKcmyk(63.6%, 0%, 24%, 49.4%)
CIE-LABlab(48.49, -32.67, 9.58)
CIE-LCHlch(48.49, 34.04, 163.65°)
OKLaboklab(54.44% -0.0903 0.0245)
OKLCHoklch(54.44% 0.094 164.8)
XYZxyz(11.2260, 17.1855, 14.2784)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8162 #812F4E
analogous
#2F8139 #2F8162 #2F7781
triadic
#2F8162 #622F81 #81622F
tetradic
#2F8162 #392F81 #812F4E #77812F
square
#2F8162 #392F81 #812F4E #77812F
split-complementary
#2F8162 #812F77 #81392F
monochromatic
#0E271E #1F5440 #2F8162 #3FAE84 #64C6A1

Accessibility & contrast

On white

4.73
#2F8162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2F8162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8162
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8162#FFFFFF#000000##FFFFFF
##2F81621.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7860
Deuteranopia (green-blind)
#737064
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8162;
/* rgb */ color: rgb(47, 129, 98);
/* oklch */ color: oklch(54.4% 0.094 164.8);
Tailwind
colors: {
  custom: {
    50: '#71a68e',
    500: '#2f8162',
    950: '#000000',
  },
}
SCSS
$custom: #2f8162;
$custom-light: #71a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8162",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 98
  },
  "hsl": {
    "h": 157.317,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54444,
    "c": 0.09361,
    "h": 164.8
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#2F8162
secondary
#AD5E7C
accent
#5284D6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #2F8162

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

Preview Lab → · Contrast checker → · Palette generator →

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