#2A8437#2A8437

#2A8437 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.141 H 145.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2A8437
RGBrgb(42, 132, 55)
HSLhsl(129, 52%, 34%)
HSVhsv(129, 68%, 52%)
CMYKcmyk(68.2%, 0%, 58.3%, 48.2%)
CIE-LABlab(48.60, -43.23, 33.51)
CIE-LCHlch(48.60, 54.69, 142.22°)
OKLaboklab(54.24% -0.1168 0.0797)
OKLCHoklch(54.24% 0.141 145.7)
XYZxyz(9.8950, 17.2696, 6.4256)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8437 #842A77
analogous
#4A842A #2A8437 #2A8464
triadic
#2A8437 #372A84 #84372A
tetradic
#2A8437 #2A4A84 #842A77 #84642A
square
#2A8437 #2A4A84 #842A77 #84642A
split-complementary
#2A8437 #642A84 #842A4A
monochromatic
#0C2710 #1B5624 #2A8437 #39B24A #5DCB6D

Accessibility & contrast

On white

4.71
#2A8437 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2A8437 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8437
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8437#FFFFFF#000000##FFFFFF
##2A84371.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867830
Deuteranopia (green-blind)
#7B703D
Tritanopia (blue-blind)
#0E8173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a8437;
/* rgb */ color: rgb(42, 132, 55);
/* oklch */ color: oklch(54.2% 0.141 145.7);
Tailwind
colors: {
  custom: {
    50: '#70a970',
    500: '#2a8437',
    950: '#000000',
  },
}
SCSS
$custom: #2a8437;
$custom-light: #70a970;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8437",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 55
  },
  "hsl": {
    "h": 128.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54243,
    "c": 0.14138,
    "h": 145.7
  },
  "luminance": 0.17271
}

Semantic roles & 50–950 ramp

primary
#2A8437
secondary
#B159A4
accent
#4DC7DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2A8437

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

Preview Lab → · Contrast checker → · Palette generator →

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