#2A8E24#2A8E24

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

Color values

HEX#2A8E24
RGBrgb(42, 142, 36)
HSLhsl(117, 60%, 35%)
HSVhsv(117, 75%, 56%)
CMYKcmyk(70.4%, 0%, 74.6%, 44.3%)
CIE-LABlab(51.80, -48.97, 45.53)
CIE-LCHlch(51.80, 66.87, 137.08°)
OKLaboklab(56.83% -0.1333 0.1031)
OKLCHoklch(56.83% 0.169 142.3)
XYZxyz(10.9457, 19.9644, 4.9454)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E24 #88248E
analogous
#5F8E24 #2A8E24 #248E53
triadic
#2A8E24 #242A8E #8E242A
tetradic
#2A8E24 #245F8E #88248E #8E5324
square
#2A8E24 #245F8E #88248E #8E5324
split-complementary
#2A8E24 #53248E #8E245F
monochromatic
#0D2C0B #1C5D18 #2A8E24 #38BF30 #5FD558

Accessibility & contrast

On white

4.21
#2A8E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8E24#FFFFFF#000000##000000
##2A8E241.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918011
Deuteranopia (green-blind)
#86782F
Tritanopia (blue-blind)
#108A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8e24;
/* rgb */ color: rgb(42, 142, 36);
/* oklch */ color: oklch(56.8% 0.169 142.3);
Tailwind
colors: {
  custom: {
    50: '#73b066',
    500: '#2a8e24',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e24;
$custom-light: #73b066;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e24",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 116.604,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56834,
    "c": 0.16851,
    "h": 142.3
  },
  "luminance": 0.19966
}

Semantic roles & 50–950 ramp

primary
#2A8E24
secondary
#B355B9
accent
#45E3DA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A8E24

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

Preview Lab → · Contrast checker → · Palette generator →

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