#2A8537#2A8537

#2A8537 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.143 H 145.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A8537
RGBrgb(42, 133, 55)
HSLhsl(129, 52%, 34%)
HSVhsv(129, 68%, 52%)
CMYKcmyk(68.4%, 0%, 58.6%, 47.8%)
CIE-LABlab(48.94, -43.61, 33.91)
CIE-LCHlch(48.94, 55.24, 142.13°)
OKLaboklab(54.52% -0.1178 0.0805)
OKLCHoklch(54.52% 0.143 145.6)
XYZxyz(10.0313, 17.5421, 6.4710)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8537 #852A78
analogous
#4B852A #2A8537 #2A8565
triadic
#2A8537 #372A85 #85372A
tetradic
#2A8537 #2A4B85 #852A78 #85652A
square
#2A8537 #2A4B85 #852A78 #85652A
split-complementary
#2A8537 #652A85 #852A4B
monochromatic
#0D2811 #1B5624 #2A8537 #39B44A #5DCC6D

Accessibility & contrast

On white

4.66
#2A8537 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2A8537 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8537
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8537#FFFFFF#000000##FFFFFF
##2A85371.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87792F
Deuteranopia (green-blind)
#7C713D
Tritanopia (blue-blind)
#0E8274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8537;
/* rgb */ color: rgb(42, 133, 55);
/* oklch */ color: oklch(54.5% 0.143 145.6);
Tailwind
colors: {
  custom: {
    50: '#70a970',
    500: '#2a8537',
    950: '#000000',
  },
}
SCSS
$custom: #2a8537;
$custom-light: #70a970;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8537",
  "rgb": {
    "r": 42,
    "g": 133,
    "b": 55
  },
  "hsl": {
    "h": 128.571,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54522,
    "c": 0.14273,
    "h": 145.6
  },
  "luminance": 0.17543
}

Semantic roles & 50–950 ramp

primary
#2A8537
secondary
#B259A5
accent
#4CC7DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2A8537

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

Preview Lab → · Contrast checker → · Palette generator →

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