#2A8B54#2A8B54

#2A8B54 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.123 H 154.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2A8B54
RGBrgb(42, 139, 84)
HSLhsl(146, 54%, 35%)
HSVhsv(146, 70%, 55%)
CMYKcmyk(69.8%, 0%, 39.6%, 45.5%)
CIE-LABlab(51.38, -41.08, 21.50)
CIE-LCHlch(51.38, 46.37, 152.37°)
OKLaboklab(56.68% -0.111 0.0537)
OKLCHoklch(56.68% 0.123 154.2)
XYZxyz(11.7867, 19.5963, 11.5471)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B54 #8B2A61
analogous
#318B2A #2A8B54 #2A8B84
triadic
#2A8B54 #542A8B #8B542A
tetradic
#2A8B54 #2A318B #8B2A61 #8B842A
square
#2A8B54 #2A318B #8B2A61 #8B842A
split-complementary
#2A8B54 #842A8B #8B2A31
monochromatic
#0E2D1B #1C5C38 #2A8B54 #38BA70 #60CF90

Accessibility & contrast

On white

4.27
#2A8B54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#2A8B54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B54
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B54#FFFFFF#000000##000000
##2A8B541.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8050
Deuteranopia (green-blind)
#7F7758
Tritanopia (blue-blind)
#00897D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8b54;
/* rgb */ color: rgb(42, 139, 84);
/* oklch */ color: oklch(56.7% 0.123 154.2);
Tailwind
colors: {
  custom: {
    50: '#70ae84',
    500: '#2a8b54',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b54;
$custom-light: #70ae84;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b54",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 84
  },
  "hsl": {
    "h": 145.979,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56677,
    "c": 0.1233,
    "h": 154.2
  },
  "luminance": 0.19598
}

Semantic roles & 50–950 ramp

primary
#2A8B54
secondary
#B55C8E
accent
#4B9EDD
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2A8B54

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

Preview Lab → · Contrast checker → · Palette generator →

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