#2A8539#2A8539

#2A8539 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.141 H 146.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2A8539
RGBrgb(42, 133, 57)
HSLhsl(130, 52%, 34%)
HSVhsv(130, 68%, 52%)
CMYKcmyk(68.4%, 0%, 57.1%, 47.8%)
CIE-LABlab(48.96, -43.33, 32.93)
CIE-LCHlch(48.96, 54.42, 142.77°)
OKLaboklab(54.55% -0.117 0.0786)
OKLCHoklch(54.55% 0.141 146.1)
XYZxyz(10.0802, 17.5617, 6.7286)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8539 #852A76
analogous
#49852A #2A8539 #2A8567
triadic
#2A8539 #392A85 #85392A
tetradic
#2A8539 #2A4985 #852A76 #85672A
square
#2A8539 #2A4985 #852A76 #85672A
split-complementary
#2A8539 #672A85 #852A49
monochromatic
#0D2811 #1B5625 #2A8539 #39B44D #5DCC70

Accessibility & contrast

On white

4.65
#2A8539 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A8539
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8539#FFFFFF#000000##FFFFFF
##2A85391.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877932
Deuteranopia (green-blind)
#7C713F
Tritanopia (blue-blind)
#0C8274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8539;
/* rgb */ color: rgb(42, 133, 57);
/* oklch */ color: oklch(54.5% 0.141 146.1);
Tailwind
colors: {
  custom: {
    50: '#70a971',
    500: '#2a8539',
    950: '#000000',
  },
}
SCSS
$custom: #2a8539;
$custom-light: #70a971;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8539",
  "rgb": {
    "r": 42,
    "g": 133,
    "b": 57
  },
  "hsl": {
    "h": 129.89,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5455,
    "c": 0.14093,
    "h": 146.1
  },
  "luminance": 0.17563
}

Semantic roles & 50–950 ramp

primary
#2A8539
secondary
#B259A3
accent
#4CC4DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2A8539

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

Preview Lab → · Contrast checker → · Palette generator →

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