#2A8458#2A8458

#2A8458 is a mid, moderate teal. Relative luminance 0.177; OKLCH L 54.9% C 0.109 H 158.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2A8458
RGBrgb(42, 132, 88)
HSLhsl(151, 52%, 34%)
HSVhsv(151, 68%, 52%)
CMYKcmyk(68.2%, 0%, 33.3%, 48.2%)
CIE-LABlab(49.13, -37.31, 16.22)
CIE-LCHlch(49.13, 40.68, 156.51°)
OKLaboklab(54.85% -0.1014 0.041)
OKLCHoklch(54.85% 0.109 158)
XYZxyz(10.9665, 17.6982, 12.0688)
Luminance0.1770 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8458 #842A56
analogous
#2A842B #2A8458 #2A8384
triadic
#2A8458 #582A84 #84582A
tetradic
#2A8458 #2B2A84 #842A56 #83842A
square
#2A8458 #2B2A84 #842A56 #83842A
split-complementary
#2A8458 #842A83 #842B2A
monochromatic
#0C271A #1B5639 #2A8458 #39B277 #5DCB95

Accessibility & contrast

On white

4.63
#2A8458 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2A8458 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8458
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8458#FFFFFF#000000##FFFFFF
##2A84581.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837A55
Deuteranopia (green-blind)
#77715B
Tritanopia (blue-blind)
#008378
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a8458;
/* rgb */ color: rgb(42, 132, 88);
/* oklch */ color: oklch(54.9% 0.109 158.0);
Tailwind
colors: {
  custom: {
    50: '#6fa887',
    500: '#2a8458',
    950: '#000000',
  },
}
SCSS
$custom: #2a8458;
$custom-light: #6fa887;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8458",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 88
  },
  "hsl": {
    "h": 150.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54852,
    "c": 0.10942,
    "h": 158
  },
  "luminance": 0.17699
}

Semantic roles & 50–950 ramp

primary
#2A8458
secondary
#B15984
accent
#4D92DB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2A8458

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

Preview Lab → · Contrast checker → · Palette generator →

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