#2A8762#2A8762

#2A8762 is a mid, moderate teal. Relative luminance 0.187; OKLCH L 55.9% C 0.104 H 162.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2A8762
RGBrgb(42, 135, 98)
HSLhsl(156, 53%, 35%)
HSVhsv(156, 69%, 53%)
CMYKcmyk(68.9%, 0%, 27.4%, 47.1%)
CIE-LABlab(50.34, -36.34, 12.15)
CIE-LCHlch(50.34, 38.32, 161.52°)
OKLaboklab(55.91% -0.0997 0.031)
OKLCHoklch(55.91% 0.104 162.8)
XYZxyz(11.8222, 18.7007, 14.5395)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8762 #872A4F
analogous
#2A8734 #2A8762 #2A7E87
triadic
#2A8762 #622A87 #87622A
tetradic
#2A8762 #342A87 #872A4F #7E872A
square
#2A8762 #342A87 #872A4F #7E872A
split-complementary
#2A8762 #872A7E #87342A
monochromatic
#0D2A1E #1B5840 #2A8762 #39B684 #5ECDA1

Accessibility & contrast

On white

4.43
#2A8762 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2A8762 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8762
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8762#FFFFFF#000000##000000
##2A87621.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857D60
Deuteranopia (green-blind)
#787464
Tritanopia (blue-blind)
#00877D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8762;
/* rgb */ color: rgb(42, 135, 98);
/* oklch */ color: oklch(55.9% 0.104 162.8);
Tailwind
colors: {
  custom: {
    50: '#70ab8e',
    500: '#2a8762',
    950: '#000000',
  },
}
SCSS
$custom: #2a8762;
$custom-light: #70ab8e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8762",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 98
  },
  "hsl": {
    "h": 156.129,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.10444,
    "h": 162.8
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#2A8762
secondary
#B35A7D
accent
#4C85DC
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #2A8762

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

Preview Lab → · Contrast checker → · Palette generator →

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