#2A8E25#2A8E25

#2A8E25 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.168 H 142.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2A8E25
RGBrgb(42, 142, 37)
HSLhsl(117, 59%, 35%)
HSVhsv(117, 74%, 56%)
CMYKcmyk(70.4%, 0%, 73.9%, 44.3%)
CIE-LABlab(51.80, -48.88, 45.15)
CIE-LCHlch(51.80, 66.55, 137.27°)
OKLaboklab(56.84% -0.133 0.1025)
OKLCHoklch(56.84% 0.168 142.4)
XYZxyz(10.9611, 19.9706, 5.0270)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E25 #89258E
analogous
#5E8E25 #2A8E25 #258E55
triadic
#2A8E25 #252A8E #8E252A
tetradic
#2A8E25 #255E8E #89258E #8E5525
square
#2A8E25 #255E8E #89258E #8E5525
split-complementary
#2A8E25 #55258E #8E255E
monochromatic
#0D2D0C #1C5D18 #2A8E25 #38BF32 #5FD45A

Accessibility & contrast

On white

4.20
#2A8E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2A8E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E25
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E25#FFFFFF#000000##000000
##2A8E251.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#867830
Tritanopia (blue-blind)
#108A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8e25;
/* rgb */ color: rgb(42, 142, 37);
/* oklch */ color: oklch(56.8% 0.168 142.4);
Tailwind
colors: {
  custom: {
    50: '#73b066',
    500: '#2a8e25',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e25;
$custom-light: #73b066;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e25",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 117.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56842,
    "c": 0.16789,
    "h": 142.4
  },
  "luminance": 0.19972
}

Semantic roles & 50–950 ramp

primary
#2A8E25
secondary
#B456B9
accent
#46E2DA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A8E25

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

Preview Lab → · Contrast checker → · Palette generator →

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