#2A8949#2A8949

#2A8949 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.131 H 150.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2A8949
RGBrgb(42, 137, 73)
HSLhsl(140, 53%, 35%)
HSVhsv(140, 69%, 54%)
CMYKcmyk(69.3%, 0%, 46.7%, 46.3%)
CIE-LABlab(50.53, -42.34, 26.44)
CIE-LCHlch(50.53, 49.92, 148.02°)
OKLaboklab(55.92% -0.1141 0.0649)
OKLCHoklch(55.92% 0.131 150.4)
XYZxyz(11.1022, 18.8634, 9.3579)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8949 #892A6A
analogous
#3A892A #2A8949 #2A8979
triadic
#2A8949 #492A89 #89492A
tetradic
#2A8949 #2A3A89 #892A6A #89792A
square
#2A8949 #2A3A89 #892A6A #89792A
split-complementary
#2A8949 #792A89 #892A3A
monochromatic
#0D2B17 #1C5A30 #2A8949 #38B862 #5FCE83

Accessibility & contrast

On white

4.40
#2A8949 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2A8949 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8949
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8949#FFFFFF#000000##000000
##2A89491.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D44
Deuteranopia (green-blind)
#7E754D
Tritanopia (blue-blind)
#00877A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8949;
/* rgb */ color: rgb(42, 137, 73);
/* oklch */ color: oklch(55.9% 0.131 150.4);
Tailwind
colors: {
  custom: {
    50: '#70ac7d',
    500: '#2a8949',
    950: '#000000',
  },
}
SCSS
$custom: #2a8949;
$custom-light: #70ac7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8949",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 73
  },
  "hsl": {
    "h": 139.579,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55916,
    "c": 0.13127,
    "h": 150.4
  },
  "luminance": 0.18865
}

Semantic roles & 50–950 ramp

primary
#2A8949
secondary
#B45B97
accent
#4BADDC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8949

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

Preview Lab → · Contrast checker → · Palette generator →

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