#2A8D24#2A8D24

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

Color values

HEX#2A8D24
RGBrgb(42, 141, 36)
HSLhsl(117, 59%, 35%)
HSVhsv(117, 74%, 55%)
CMYKcmyk(70.2%, 0%, 74.5%, 44.7%)
CIE-LABlab(51.46, -48.62, 45.19)
CIE-LCHlch(51.46, 66.38, 137.09°)
OKLaboklab(56.56% -0.1323 0.1024)
OKLCHoklch(56.56% 0.167 142.3)
XYZxyz(10.7975, 19.6682, 4.8960)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D24 #87248D
analogous
#5F8D24 #2A8D24 #248D52
triadic
#2A8D24 #242A8D #8D242A
tetradic
#2A8D24 #245F8D #87248D #8D5224
square
#2A8D24 #245F8D #87248D #8D5224
split-complementary
#2A8D24 #52248D #8D245F
monochromatic
#0D2B0B #1B5C18 #2A8D24 #39BE30 #5ED457

Accessibility & contrast

On white

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

On black

4.93
#2A8D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D24
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D24#FFFFFF#000000##000000
##2A8D241.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#118979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8d24;
/* rgb */ color: rgb(42, 141, 36);
/* oklch */ color: oklch(56.6% 0.167 142.3);
Tailwind
colors: {
  custom: {
    50: '#73af66',
    500: '#2a8d24',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d24;
$custom-light: #73af66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d24",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 116.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56555,
    "c": 0.16732,
    "h": 142.3
  },
  "luminance": 0.19669
}

Semantic roles & 50–950 ramp

primary
#2A8D24
secondary
#B354B8
accent
#45E3DA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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