#24971B#24971B

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

Color values

HEX#24971B
RGBrgb(36, 151, 27)
HSLhsl(116, 70%, 35%)
HSVhsv(116, 82%, 59%)
CMYKcmyk(76.2%, 0%, 82.1%, 40.8%)
CIE-LABlab(54.64, -53.72, 51.32)
CIE-LCHlch(54.64, 74.30, 136.31°)
OKLaboklab(59.14% -0.1462 0.114)
OKLCHoklch(59.14% 0.185 142.1)
XYZxyz(11.9913, 22.5860, 4.7643)
Luminance0.2259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24971B #8E1B97
analogous
#62971B #24971B #1B9750
triadic
#24971B #1B2497 #971B24
tetradic
#24971B #1B6297 #8E1B97 #97501B
square
#24971B #1B6297 #8E1B97 #97501B
split-complementary
#24971B #501B97 #971B62
monochromatic
#0B2F08 #186312 #24971B #30CB24 #58DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24971B#FFFFFF#000000##000000
##24971B1.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)
#8E7F2B
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #24971b;
/* rgb */ color: rgb(36, 151, 27);
/* oklch */ color: oklch(59.1% 0.185 142.1);
Tailwind
colors: {
  custom: {
    50: '#73b763',
    500: '#24971b',
    950: '#000000',
  },
}
SCSS
$custom: #24971b;
$custom-light: #73b763;
$custom-dark: #000000;
JSON
{
  "hex": "#24971b",
  "rgb": {
    "r": 36,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 115.645,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59144,
    "c": 0.18541,
    "h": 142.1
  },
  "luminance": 0.22587
}

Semantic roles & 50–950 ramp

primary
#24971B
secondary
#B94CC1
accent
#3BECE0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #24971B

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

Preview Lab → · Contrast checker → · Palette generator →

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