#2F795E#2F795E

#2F795E is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.086 H 166.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2F795E
RGBrgb(47, 121, 94)
HSLhsl(158, 44%, 33%)
HSVhsv(158, 61%, 47%)
CMYKcmyk(61.2%, 0%, 22.3%, 52.5%)
CIE-LABlab(45.75, -29.90, 8.06)
CIE-LCHlch(45.75, 30.97, 164.91°)
OKLaboklab(52.17% -0.0831 0.0207)
OKLCHoklch(52.17% 0.086 166)
XYZxyz(10.0290, 15.0862, 12.9709)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F795E #792F4A
analogous
#2F7939 #2F795E #2F6F79
triadic
#2F795E #5E2F79 #795E2F
tetradic
#2F795E #392F79 #792F4A #6F792F
square
#2F795E #392F79 #792F4A #6F792F
split-complementary
#2F795E #792F6F #79392F
monochromatic
#0D211A #1E4D3C #2F795E #40A580 #61C29E

Accessibility & contrast

On white

5.23
#2F795E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2F795E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F795E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F795E#FFFFFF#000000##FFFFFF
##2F795E1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715D
Deuteranopia (green-blind)
#6C6960
Tritanopia (blue-blind)
#037971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f795e;
/* rgb */ color: rgb(47, 121, 94);
/* oklch */ color: oklch(52.2% 0.086 166.0);
Tailwind
colors: {
  custom: {
    50: '#6fa08b',
    500: '#2f795e',
    950: '#000000',
  },
}
SCSS
$custom: #2f795e;
$custom-light: #6fa08b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f795e",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 158.108,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.08559,
    "h": 166
  },
  "luminance": 0.15087
}

Semantic roles & 50–950 ramp

primary
#2F795E
secondary
#A85B77
accent
#5483D4
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2F795E

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

Preview Lab → · Contrast checker → · Palette generator →

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