#2A8456#2A8456

#2A8456 is a mid, moderate green. Relative luminance 0.177; OKLCH L 54.8% C 0.111 H 156.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2A8456
RGBrgb(42, 132, 86)
HSLhsl(149, 52%, 34%)
HSVhsv(149, 68%, 52%)
CMYKcmyk(68.2%, 0%, 34.8%, 48.2%)
CIE-LABlab(49.09, -37.74, 17.30)
CIE-LCHlch(49.09, 41.52, 155.37°)
OKLaboklab(54.81% -0.1024 0.0436)
OKLCHoklch(54.81% 0.111 156.9)
XYZxyz(10.8848, 17.6655, 11.6384)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8456 #842A58
analogous
#2B842A #2A8456 #2A8483
triadic
#2A8456 #562A84 #84562A
tetradic
#2A8456 #2A2B84 #842A58 #84832A
square
#2A8456 #2A2B84 #842A58 #84832A
split-complementary
#2A8456 #832A84 #842A2B
monochromatic
#0C271A #1B5638 #2A8456 #39B274 #5DCB93

Accessibility & contrast

On white

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

On black

4.53
#2A8456 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A8456#FFFFFF#000000##FFFFFF
##2A84561.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837A53
Deuteranopia (green-blind)
#777159
Tritanopia (blue-blind)
#008378
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a8456;
/* rgb */ color: rgb(42, 132, 86);
/* oklch */ color: oklch(54.8% 0.111 156.9);
Tailwind
colors: {
  custom: {
    50: '#6fa886',
    500: '#2a8456',
    950: '#000000',
  },
}
SCSS
$custom: #2a8456;
$custom-light: #6fa886;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8456",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 86
  },
  "hsl": {
    "h": 149.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54806,
    "c": 0.11135,
    "h": 156.9
  },
  "luminance": 0.17667
}

Semantic roles & 50–950 ramp

primary
#2A8456
secondary
#B15986
accent
#4D95DB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2A8456

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

Preview Lab → · Contrast checker → · Palette generator →

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