#2F815F#2F815F

#2F815F is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.4% C 0.096 H 162.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F815F
RGBrgb(47, 129, 95)
HSLhsl(155, 47%, 35%)
HSVhsv(155, 64%, 51%)
CMYKcmyk(63.6%, 0%, 26.4%, 49.4%)
CIE-LABlab(48.42, -33.38, 11.23)
CIE-LCHlch(48.42, 35.22, 161.41°)
OKLaboklab(54.36% -0.0918 0.0287)
OKLCHoklch(54.36% 0.096 162.7)
XYZxyz(11.0870, 17.1299, 13.5464)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F815F #812F51
analogous
#2F8136 #2F815F #2F7A81
triadic
#2F815F #5F2F81 #815F2F
tetradic
#2F815F #362F81 #812F51 #7A812F
square
#2F815F #362F81 #812F51 #7A812F
split-complementary
#2F815F #812F7A #81362F
monochromatic
#0E271D #1F543E #2F815F #3FAE80 #64C69E

Accessibility & contrast

On white

4.74
#2F815F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2F815F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F815F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F815F#FFFFFF#000000##FFFFFF
##2F815F1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f815f;
/* rgb */ color: rgb(47, 129, 95);
/* oklch */ color: oklch(54.4% 0.096 162.7);
Tailwind
colors: {
  custom: {
    50: '#71a68c',
    500: '#2f815f',
    950: '#000000',
  },
}
SCSS
$custom: #2f815f;
$custom-light: #71a68c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f815f",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 95
  },
  "hsl": {
    "h": 155.122,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54364,
    "c": 0.09622,
    "h": 162.7
  },
  "luminance": 0.17131
}

Semantic roles & 50–950 ramp

primary
#2F815F
secondary
#AD5E7F
accent
#5289D6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #2F815F

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

Preview Lab → · Contrast checker → · Palette generator →

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