#2A8549#2A8549

#2A8549 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.126 H 151.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2A8549
RGBrgb(42, 133, 73)
HSLhsl(140, 52%, 34%)
HSVhsv(140, 68%, 52%)
CMYKcmyk(68.4%, 0%, 45.1%, 47.8%)
CIE-LABlab(49.19, -40.73, 24.72)
CIE-LCHlch(49.19, 47.65, 148.75°)
OKLaboklab(54.81% -0.1099 0.0609)
OKLCHoklch(54.81% 0.126 151)
XYZxyz(10.5441, 17.7472, 9.1719)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8549 #852A66
analogous
#38852A #2A8549 #2A8577
triadic
#2A8549 #492A85 #85492A
tetradic
#2A8549 #2A3885 #852A66 #85772A
square
#2A8549 #2A3885 #852A66 #85772A
split-complementary
#2A8549 #772A85 #852A38
monochromatic
#0D2816 #1B562F #2A8549 #39B463 #5DCC83

Accessibility & contrast

On white

4.62
#2A8549 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2A8549 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8549
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8549#FFFFFF#000000##FFFFFF
##2A85491.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A45
Deuteranopia (green-blind)
#7A724D
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a8549;
/* rgb */ color: rgb(42, 133, 73);
/* oklch */ color: oklch(54.8% 0.126 151.0);
Tailwind
colors: {
  custom: {
    50: '#6fa97c',
    500: '#2a8549',
    950: '#000000',
  },
}
SCSS
$custom: #2a8549;
$custom-light: #6fa97c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8549",
  "rgb": {
    "r": 42,
    "g": 133,
    "b": 73
  },
  "hsl": {
    "h": 140.44,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54812,
    "c": 0.12562,
    "h": 151
  },
  "luminance": 0.17748
}

Semantic roles & 50–950 ramp

primary
#2A8549
secondary
#B25994
accent
#4CABDB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8549

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

Preview Lab → · Contrast checker → · Palette generator →

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