#2A9271#2A9271

#2A9271 is a mid, moderate teal. Relative luminance 0.222; OKLCH L 59.3% C 0.107 H 167.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2A9271
RGBrgb(42, 146, 113)
HSLhsl(161, 55%, 37%)
HSVhsv(161, 71%, 57%)
CMYKcmyk(71.2%, 0%, 22.6%, 42.7%)
CIE-LABlab(54.28, -37.55, 9.09)
CIE-LCHlch(54.28, 38.63, 166.39°)
OKLaboklab(59.26% -0.1042 0.0233)
OKLCHoklch(59.26% 0.107 167.4)
XYZxyz(14.2128, 22.2406, 19.1634)
Luminance0.2224 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9271 #922A4B
analogous
#2A923D #2A9271 #2A7F92
triadic
#2A9271 #712A92 #92712A
tetradic
#2A9271 #3D2A92 #922A4B #7F922A
square
#2A9271 #3D2A92 #922A4B #7F922A
split-complementary
#2A9271 #922A7F #923D2A
monochromatic
#0F3327 #1C624C #2A9271 #38C296 #64D2AF

Accessibility & contrast

On white

3.85
#2A9271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#2A9271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9271
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9271#FFFFFF#000000##000000
##2A92711.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E886F
Deuteranopia (green-blind)
#817E73
Tritanopia (blue-blind)
#009389
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9271;
/* rgb */ color: rgb(42, 146, 113);
/* oklch */ color: oklch(59.3% 0.107 167.4);
Tailwind
colors: {
  custom: {
    50: '#72b399',
    500: '#2a9271',
    950: '#000000',
  },
}
SCSS
$custom: #2a9271;
$custom-light: #72b399;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9271",
  "rgb": {
    "r": 42,
    "g": 146,
    "b": 113
  },
  "hsl": {
    "h": 160.962,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59261,
    "c": 0.10672,
    "h": 167.4
  },
  "luminance": 0.22242
}

Semantic roles & 50–950 ramp

primary
#2A9271
secondary
#B85F7C
accent
#4979DF
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #2A9271

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

Preview Lab → · Contrast checker → · Palette generator →

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