#2A8261#2A8261

#2A8261 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.5% C 0.098 H 164.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A8261
RGBrgb(42, 130, 97)
HSLhsl(158, 51%, 34%)
HSVhsv(158, 68%, 51%)
CMYKcmyk(67.7%, 0%, 25.4%, 49%)
CIE-LABlab(48.66, -34.35, 10.38)
CIE-LCHlch(48.66, 35.89, 163.19°)
OKLaboklab(54.53% -0.0947 0.0265)
OKLCHoklch(54.53% 0.098 164.3)
XYZxyz(11.0940, 17.3194, 14.0652)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8261 #822A4B
analogous
#2A8235 #2A8261 #2A7782
triadic
#2A8261 #612A82 #82612A
tetradic
#2A8261 #352A82 #822A4B #77822A
square
#2A8261 #352A82 #822A4B #77822A
split-complementary
#2A8261 #822A77 #82352A
monochromatic
#0C251C #1B543E #2A8261 #39B084 #5CCAA1

Accessibility & contrast

On white

4.70
#2A8261 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2A8261 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8261
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8261#FFFFFF#000000##FFFFFF
##2A82611.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F795F
Deuteranopia (green-blind)
#747063
Tritanopia (blue-blind)
#008279
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8261;
/* rgb */ color: rgb(42, 130, 97);
/* oklch */ color: oklch(54.5% 0.098 164.3);
Tailwind
colors: {
  custom: {
    50: '#6fa78e',
    500: '#2a8261',
    950: '#000000',
  },
}
SCSS
$custom: #2a8261;
$custom-light: #6fa78e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8261",
  "rgb": {
    "r": 42,
    "g": 130,
    "b": 97
  },
  "hsl": {
    "h": 157.5,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54533,
    "c": 0.09835,
    "h": 164.3
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#2A8261
secondary
#B05879
accent
#4D82DB
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #2A8261

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

Preview Lab → · Contrast checker → · Palette generator →

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