#2F795D#2F795D

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

Color values

HEX#2F795D
RGBrgb(47, 121, 93)
HSLhsl(157, 44%, 33%)
HSVhsv(157, 61%, 47%)
CMYKcmyk(61.2%, 0%, 23.1%, 52.5%)
CIE-LABlab(45.73, -30.15, 8.62)
CIE-LCHlch(45.73, 31.35, 164.05°)
OKLaboklab(52.15% -0.0836 0.0221)
OKLCHoklch(52.15% 0.086 165.2)
XYZxyz(9.9845, 15.0684, 12.7361)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F795D #792F4B
analogous
#2F7938 #2F795D #2F7079
triadic
#2F795D #5D2F79 #795D2F
tetradic
#2F795D #382F79 #792F4B #70792F
square
#2F795D #382F79 #792F4B #70792F
split-complementary
#2F795D #792F70 #79382F
monochromatic
#0D2119 #1E4D3B #2F795D #40A57F #61C29D

Accessibility & contrast

On white

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

On black

4.01
#2F795D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F795D#FFFFFF#000000##FFFFFF
##2F795D1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715C
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#057971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f795d;
/* rgb */ color: rgb(47, 121, 93);
/* oklch */ color: oklch(52.1% 0.086 165.2);
Tailwind
colors: {
  custom: {
    50: '#6fa08b',
    500: '#2f795d',
    950: '#000000',
  },
}
SCSS
$custom: #2f795d;
$custom-light: #6fa08b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f795d",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 157.297,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52146,
    "c": 0.08643,
    "h": 165.2
  },
  "luminance": 0.15069
}

Semantic roles & 50–950 ramp

primary
#2F795D
secondary
#A85B79
accent
#5484D4
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2F795D

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

Preview Lab → · Contrast checker → · Palette generator →

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