#2D9878#2D9878

#2D9878 is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.1% C 0.108 H 168.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2D9878
RGBrgb(45, 152, 120)
HSLhsl(162, 54%, 39%)
HSVhsv(162, 70%, 60%)
CMYKcmyk(70.4%, 0%, 21.1%, 40.4%)
CIE-LABlab(56.45, -37.97, 8.20)
CIE-LCHlch(56.45, 38.85, 167.81°)
OKLaboklab(61.12% -0.1058 0.021)
OKLCHoklch(61.12% 0.108 168.8)
XYZxyz(15.6988, 24.3686, 21.6419)
Luminance0.2437 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9878 #982D4D
analogous
#2D9842 #2D9878 #2D8298
triadic
#2D9878 #782D98 #98782D
tetradic
#2D9878 #422D98 #982D4D #82982D
square
#2D9878 #422D98 #982D4D #82982D
split-complementary
#2D9878 #982D82 #98422D
monochromatic
#113A2D #1F6953 #2D9878 #3DC59D #6CD3B5

Accessibility & contrast

On white

3.58
#2D9878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#2D9878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9878
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9878#FFFFFF#000000##000000
##2D98781.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948E76
Deuteranopia (green-blind)
#86837A
Tritanopia (blue-blind)
#00998F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2d9878;
/* rgb */ color: rgb(45, 152, 120);
/* oklch */ color: oklch(61.1% 0.108 168.8);
Tailwind
colors: {
  custom: {
    50: '#75b79f',
    500: '#2d9878',
    950: '#000000',
  },
}
SCSS
$custom: #2d9878;
$custom-light: #75b79f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9878",
  "rgb": {
    "r": 45,
    "g": 152,
    "b": 120
  },
  "hsl": {
    "h": 162.056,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61116,
    "c": 0.10783,
    "h": 168.8
  },
  "luminance": 0.2437
}

Semantic roles & 50–950 ramp

primary
#2D9878
secondary
#BA667F
accent
#4A76DE
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2D9878

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

Preview Lab → · Contrast checker → · Palette generator →

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