#2A8D25#2A8D25

#2A8D25 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.167 H 142.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A8D25
RGBrgb(42, 141, 37)
HSLhsl(117, 58%, 35%)
HSVhsv(117, 74%, 55%)
CMYKcmyk(70.2%, 0%, 73.8%, 44.7%)
CIE-LABlab(51.47, -48.53, 44.81)
CIE-LCHlch(51.47, 66.06, 137.28°)
OKLaboklab(56.56% -0.132 0.1017)
OKLCHoklch(56.56% 0.167 142.4)
XYZxyz(10.8130, 19.6744, 4.9776)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D25 #88258D
analogous
#5E8D25 #2A8D25 #258D54
triadic
#2A8D25 #252A8D #8D252A
tetradic
#2A8D25 #255E8D #88258D #8D5425
square
#2A8D25 #255E8D #88258D #8D5425
split-complementary
#2A8D25 #54258D #8D255E
monochromatic
#0D2C0C #1C5D18 #2A8D25 #38BD32 #5FD359

Accessibility & contrast

On white

4.26
#2A8D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2A8D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D25
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D25#FFFFFF#000000##000000
##2A8D251.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#108979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8d25;
/* rgb */ color: rgb(42, 141, 37);
/* oklch */ color: oklch(56.6% 0.167 142.4);
Tailwind
colors: {
  custom: {
    50: '#73af66',
    500: '#2a8d25',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d25;
$custom-light: #73af66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d25",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 117.115,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56563,
    "c": 0.1667,
    "h": 142.4
  },
  "luminance": 0.19676
}

Semantic roles & 50–950 ramp

primary
#2A8D25
secondary
#B356B8
accent
#46E2DA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8D25

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

Preview Lab → · Contrast checker → · Palette generator →

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