#2A9781#2A9781

#2A9781 is a mid, moderate teal. Relative luminance 0.242; OKLCH L 61.0% C 0.102 H 176.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2A9781
RGBrgb(42, 151, 129)
HSLhsl(168, 56%, 38%)
HSVhsv(168, 72%, 59%)
CMYKcmyk(72.2%, 0%, 14.6%, 40.8%)
CIE-LABlab(56.30, -35.65, 2.84)
CIE-LCHlch(56.30, 35.76, 175.44°)
OKLaboklab(61.04% -0.1016 0.007)
OKLCHoklch(61.04% 0.102 176.1)
XYZxyz(15.9819, 24.2086, 24.5951)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9781 #972A40
analogous
#2A974A #2A9781 #2A7697
triadic
#2A9781 #812A97 #97812A
tetradic
#2A9781 #4A2A97 #972A40 #76972A
square
#2A9781 #4A2A97 #972A40 #76972A
split-complementary
#2A9781 #972A76 #974A2A
monochromatic
#0F372F #1D6758 #2A9781 #37C7AA #67D5BE

Accessibility & contrast

On white

3.59
#2A9781 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#2A9781 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9781
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9781#FFFFFF#000000##000000
##2A97811.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918D80
Deuteranopia (green-blind)
#828283
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9781;
/* rgb */ color: rgb(42, 151, 129);
/* oklch */ color: oklch(61.0% 0.102 176.1);
Tailwind
colors: {
  custom: {
    50: '#74b6a5',
    500: '#2a9781',
    950: '#000000',
  },
}
SCSS
$custom: #2a9781;
$custom-light: #74b6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9781",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 129
  },
  "hsl": {
    "h": 167.89,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61042,
    "c": 0.10185,
    "h": 176.1
  },
  "luminance": 0.2421
}

Semantic roles & 50–950 ramp

primary
#2A9781
secondary
#BB6274
accent
#4867E0
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#09110F
muted
#7B807F

Preview Lab

Preview with #2A9781

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

Preview Lab → · Contrast checker → · Palette generator →

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