#2A8A54#2A8A54

#2A8A54 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.122 H 154.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2A8A54
RGBrgb(42, 138, 84)
HSLhsl(146, 53%, 35%)
HSVhsv(146, 70%, 54%)
CMYKcmyk(69.6%, 0%, 39.1%, 45.9%)
CIE-LABlab(51.05, -40.67, 21.06)
CIE-LCHlch(51.05, 45.80, 152.63°)
OKLaboklab(56.4% -0.1099 0.0526)
OKLCHoklch(56.4% 0.122 154.4)
XYZxyz(11.6425, 19.3080, 11.4990)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A54 #8A2A60
analogous
#308A2A #2A8A54 #2A8A84
triadic
#2A8A54 #542A8A #8A542A
tetradic
#2A8A54 #2A308A #8A2A60 #8A842A
square
#2A8A54 #2A308A #8A2A60 #8A842A
split-complementary
#2A8A54 #842A8A #8A2A30
monochromatic
#0D2C1B #1C5B37 #2A8A54 #38B971 #60CF90

Accessibility & contrast

On white

4.32
#2A8A54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2A8A54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A54
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A54#FFFFFF#000000##000000
##2A8A541.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F50
Deuteranopia (green-blind)
#7E7658
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8a54;
/* rgb */ color: rgb(42, 138, 84);
/* oklch */ color: oklch(56.4% 0.122 154.4);
Tailwind
colors: {
  custom: {
    50: '#70ad84',
    500: '#2a8a54',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a54;
$custom-light: #70ad84;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a54",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 84
  },
  "hsl": {
    "h": 146.25,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56404,
    "c": 0.12188,
    "h": 154.4
  },
  "luminance": 0.19309
}

Semantic roles & 50–950 ramp

primary
#2A8A54
secondary
#B45B8D
accent
#4B9DDD
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2A8A54

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

Preview Lab → · Contrast checker → · Palette generator →

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