#2A8A56#2A8A56

#2A8A56 is a mid, moderate green. Relative luminance 0.193; OKLCH L 56.4% C 0.120 H 155.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2A8A56
RGBrgb(42, 138, 86)
HSLhsl(148, 53%, 35%)
HSVhsv(148, 70%, 54%)
CMYKcmyk(69.6%, 0%, 37.7%, 45.9%)
CIE-LABlab(51.08, -40.27, 19.99)
CIE-LCHlch(51.08, 44.96, 153.60°)
OKLaboklab(56.45% -0.109 0.0501)
OKLCHoklch(56.45% 0.12 155.3)
XYZxyz(11.7220, 19.3398, 11.9175)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A56 #8A2A5E
analogous
#2E8A2A #2A8A56 #2A8A86
triadic
#2A8A56 #562A8A #8A562A
tetradic
#2A8A56 #2A2E8A #8A2A5E #8A862A
square
#2A8A56 #2A2E8A #8A2A5E #8A862A
split-complementary
#2A8A56 #862A8A #8A2A2E
monochromatic
#0D2C1C #1C5B39 #2A8A56 #38B973 #60CF93

Accessibility & contrast

On white

4.31
#2A8A56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2A8A56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A56
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A56#FFFFFF#000000##000000
##2A8A561.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897F53
Deuteranopia (green-blind)
#7D7659
Tritanopia (blue-blind)
#00897D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8a56;
/* rgb */ color: rgb(42, 138, 86);
/* oklch */ color: oklch(56.4% 0.120 155.3);
Tailwind
colors: {
  custom: {
    50: '#70ad86',
    500: '#2a8a56',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a56;
$custom-light: #70ad86;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a56",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 86
  },
  "hsl": {
    "h": 147.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56446,
    "c": 0.11994,
    "h": 155.3
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#2A8A56
secondary
#B45B8C
accent
#4B9ADD
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2A8A56

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

Preview Lab → · Contrast checker → · Palette generator →

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