#2A9862#2A9862

#2A9862 is a mid, vivid teal. Relative luminance 0.238; OKLCH L 60.5% C 0.128 H 157.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2A9862
RGBrgb(42, 152, 98)
HSLhsl(151, 57%, 38%)
HSVhsv(151, 72%, 60%)
CMYKcmyk(72.4%, 0%, 35.5%, 40.4%)
CIE-LABlab(55.92, -43.52, 19.80)
CIE-LCHlch(55.92, 47.81, 155.53°)
OKLaboklab(60.5% -0.1179 0.0498)
OKLCHoklch(60.5% 0.128 157.1)
XYZxyz(14.3863, 23.8289, 15.3942)
Luminance0.2383 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9862 #982A60
analogous
#2A982B #2A9862 #2A9798
triadic
#2A9862 #622A98 #98622A
tetradic
#2A9862 #2B2A98 #982A60 #97982A
square
#2A9862 #2B2A98 #982A60 #97982A
split-complementary
#2A9862 #982A97 #982B2A
monochromatic
#103824 #1D6843 #2A9862 #37C881 #67D59F

Accessibility & contrast

On white

3.64
#2A9862 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#2A9862 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9862
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9862#FFFFFF#000000##000000
##2A98621.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978C5F
Deuteranopia (green-blind)
#898266
Tritanopia (blue-blind)
#00978A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9862;
/* rgb */ color: rgb(42, 152, 98);
/* oklch */ color: oklch(60.5% 0.128 157.1);
Tailwind
colors: {
  custom: {
    50: '#73b78f',
    500: '#2a9862',
    950: '#000000',
  },
}
SCSS
$custom: #2a9862;
$custom-light: #73b78f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9862",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 98
  },
  "hsl": {
    "h": 150.545,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60498,
    "c": 0.128,
    "h": 157.1
  },
  "luminance": 0.23831
}

Semantic roles & 50–950 ramp

primary
#2A9862
secondary
#BB628E
accent
#4893E0
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #2A9862

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

Preview Lab → · Contrast checker → · Palette generator →

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