#24971A#24971A

#24971A is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.1% C 0.186 H 142.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#24971A
RGBrgb(36, 151, 26)
HSLhsl(115, 71%, 35%)
HSVhsv(115, 83%, 59%)
CMYKcmyk(76.2%, 0%, 82.8%, 40.8%)
CIE-LABlab(54.64, -53.78, 51.61)
CIE-LCHlch(54.64, 74.54, 136.18°)
OKLaboklab(59.14% -0.1464 0.1145)
OKLCHoklch(59.14% 0.186 142)
XYZxyz(11.9799, 22.5815, 4.7044)
Luminance0.2258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24971A #8D1A97
analogous
#63971A #24971A #1A974F
triadic
#24971A #1A2497 #971A24
tetradic
#24971A #1A6397 #8D1A97 #974F1A
square
#24971A #1A6397 #8D1A97 #974F1A
split-complementary
#24971A #4F1A97 #971A63
monochromatic
#0B2F08 #186311 #24971A #30CB23 #57E04B

Accessibility & contrast

On white

3.81
#24971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#24971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #24971A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24971A#FFFFFF#000000##000000
##24971A1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #24971a;
/* rgb */ color: rgb(36, 151, 26);
/* oklch */ color: oklch(59.1% 0.186 142.0);
Tailwind
colors: {
  custom: {
    50: '#73b762',
    500: '#24971a',
    950: '#000000',
  },
}
SCSS
$custom: #24971a;
$custom-light: #73b762;
$custom-dark: #000000;
JSON
{
  "hex": "#24971a",
  "rgb": {
    "r": 36,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 115.2,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.18587,
    "h": 142
  },
  "luminance": 0.22583
}

Semantic roles & 50–950 ramp

primary
#24971A
secondary
#B84BC2
accent
#3AEDDF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #24971A

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

Preview Lab → · Contrast checker → · Palette generator →

#24971A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva