#2F815C#2F815C

#2F815C is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.3% C 0.099 H 160.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2F815C
RGBrgb(47, 129, 92)
HSLhsl(153, 47%, 35%)
HSVhsv(153, 64%, 51%)
CMYKcmyk(63.6%, 0%, 28.7%, 49.4%)
CIE-LABlab(48.36, -34.08, 12.88)
CIE-LCHlch(48.36, 36.43, 159.30°)
OKLaboklab(54.29% -0.0934 0.0328)
OKLCHoklch(54.29% 0.099 160.6)
XYZxyz(10.9533, 17.0764, 12.8420)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F815C #812F54
analogous
#2F8133 #2F815C #2F7D81
triadic
#2F815C #5C2F81 #815C2F
tetradic
#2F815C #332F81 #812F54 #7D812F
square
#2F815C #332F81 #812F54 #7D812F
split-complementary
#2F815C #812F7D #81332F
monochromatic
#0E271C #1F543C #2F815C #3FAE7C #64C69A

Accessibility & contrast

On white

4.76
#2F815C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2F815C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F815C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F815C#FFFFFF#000000##FFFFFF
##2F815C1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F785A
Deuteranopia (green-blind)
#74705E
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f815c;
/* rgb */ color: rgb(47, 129, 92);
/* oklch */ color: oklch(54.3% 0.099 160.6);
Tailwind
colors: {
  custom: {
    50: '#71a68a',
    500: '#2f815c',
    950: '#000000',
  },
}
SCSS
$custom: #2f815c;
$custom-light: #71a68a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f815c",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 92
  },
  "hsl": {
    "h": 152.927,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54287,
    "c": 0.09895,
    "h": 160.6
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#2F815C
secondary
#AD5E82
accent
#528DD6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2F815C

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

Preview Lab → · Contrast checker → · Palette generator →

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