#2A8754#2A8754

#2A8754 is a mid, moderate green. Relative luminance 0.185; OKLCH L 55.6% C 0.118 H 155.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A8754
RGBrgb(42, 135, 84)
HSLhsl(147, 53%, 35%)
HSVhsv(147, 69%, 53%)
CMYKcmyk(68.9%, 0%, 37.8%, 47.1%)
CIE-LABlab(50.05, -39.43, 19.73)
CIE-LCHlch(50.05, 44.09, 153.42°)
OKLaboklab(55.58% -0.1067 0.0494)
OKLCHoklch(55.58% 0.118 155.1)
XYZxyz(11.2180, 18.4591, 11.3575)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8754 #872A5D
analogous
#2F872A #2A8754 #2A8783
triadic
#2A8754 #542A87 #87542A
tetradic
#2A8754 #2A2F87 #872A5D #87832A
square
#2A8754 #2A2F87 #872A5D #87832A
split-complementary
#2A8754 #832A87 #872A2F
monochromatic
#0D2A1A #1B5837 #2A8754 #39B671 #5ECD90

Accessibility & contrast

On white

4.48
#2A8754 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2A8754 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8754
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8754#FFFFFF#000000##000000
##2A87541.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C51
Deuteranopia (green-blind)
#7B7457
Tritanopia (blue-blind)
#00867A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8754;
/* rgb */ color: rgb(42, 135, 84);
/* oklch */ color: oklch(55.6% 0.118 155.1);
Tailwind
colors: {
  custom: {
    50: '#70ab84',
    500: '#2a8754',
    950: '#000000',
  },
}
SCSS
$custom: #2a8754;
$custom-light: #70ab84;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8754",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 84
  },
  "hsl": {
    "h": 147.097,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55583,
    "c": 0.11761,
    "h": 155.1
  },
  "luminance": 0.1846
}

Semantic roles & 50–950 ramp

primary
#2A8754
secondary
#B35A8B
accent
#4C9BDC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2A8754

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

Preview Lab → · Contrast checker → · Palette generator →

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