#2A8442#2A8442

#2A8442 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.131 H 148.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A8442
RGBrgb(42, 132, 66)
HSLhsl(136, 52%, 34%)
HSVhsv(136, 68%, 52%)
CMYKcmyk(68.2%, 0%, 50%, 48.2%)
CIE-LABlab(48.74, -41.55, 27.96)
CIE-LCHlch(48.74, 50.08, 146.07°)
OKLaboklab(54.41% -0.112 0.068)
OKLCHoklch(54.41% 0.131 148.7)
XYZxyz(10.1887, 17.3870, 7.9723)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8442 #842A6C
analogous
#3F842A #2A8442 #2A846F
triadic
#2A8442 #422A84 #84422A
tetradic
#2A8442 #2A3F84 #842A6C #846F2A
square
#2A8442 #2A3F84 #842A6C #846F2A
split-complementary
#2A8442 #6F2A84 #842A3F
monochromatic
#0C2714 #1B562B #2A8442 #39B259 #5DCB7A

Accessibility & contrast

On white

4.69
#2A8442 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2A8442 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8442
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8442#FFFFFF#000000##FFFFFF
##2A84421.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85783D
Deuteranopia (green-blind)
#7A7147
Tritanopia (blue-blind)
#058174
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8442;
/* rgb */ color: rgb(42, 132, 66);
/* oklch */ color: oklch(54.4% 0.131 148.7);
Tailwind
colors: {
  custom: {
    50: '#6fa977',
    500: '#2a8442',
    950: '#000000',
  },
}
SCSS
$custom: #2a8442;
$custom-light: #6fa977;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8442",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 66
  },
  "hsl": {
    "h": 136,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54411,
    "c": 0.13108,
    "h": 148.7
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#2A8442
secondary
#B1599A
accent
#4DB5DB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8442

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

Preview Lab → · Contrast checker → · Palette generator →

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