#2A8950#2A8950

#2A8950 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.124 H 153.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2A8950
RGBrgb(42, 137, 80)
HSLhsl(144, 53%, 35%)
HSVhsv(144, 69%, 54%)
CMYKcmyk(69.3%, 0%, 41.6%, 46.3%)
CIE-LABlab(50.64, -41.05, 22.75)
CIE-LCHlch(50.64, 46.93, 151.00°)
OKLaboklab(56.05% -0.1108 0.0565)
OKLCHoklch(56.05% 0.124 153)
XYZxyz(11.3475, 18.9615, 10.6498)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8950 #892A63
analogous
#33892A #2A8950 #2A8980
triadic
#2A8950 #502A89 #89502A
tetradic
#2A8950 #2A3389 #892A63 #89802A
square
#2A8950 #2A3389 #892A63 #89802A
split-complementary
#2A8950 #802A89 #892A33
monochromatic
#0D2B19 #1C5A35 #2A8950 #38B86B #5FCE8C

Accessibility & contrast

On white

4.38
#2A8950 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2A8950 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8950
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8950#FFFFFF#000000##000000
##2A89501.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4C
Deuteranopia (green-blind)
#7D7554
Tritanopia (blue-blind)
#00877B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8950;
/* rgb */ color: rgb(42, 137, 80);
/* oklch */ color: oklch(56.0% 0.124 153.0);
Tailwind
colors: {
  custom: {
    50: '#70ac81',
    500: '#2a8950',
    950: '#000000',
  },
}
SCSS
$custom: #2a8950;
$custom-light: #70ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8950",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 80
  },
  "hsl": {
    "h": 144,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56048,
    "c": 0.1244,
    "h": 153
  },
  "luminance": 0.18963
}

Semantic roles & 50–950 ramp

primary
#2A8950
secondary
#B45B90
accent
#4BA2DC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A8950

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

Preview Lab → · Contrast checker → · Palette generator →

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