#24971F#24971F

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

Color values

HEX#24971F
RGBrgb(36, 151, 31)
HSLhsl(118, 66%, 36%)
HSVhsv(118, 79%, 59%)
CMYKcmyk(76.2%, 0%, 79.5%, 40.8%)
CIE-LABlab(54.66, -53.47, 50.10)
CIE-LCHlch(54.66, 73.27, 136.87°)
OKLaboklab(59.17% -0.1454 0.112)
OKLCHoklch(59.17% 0.184 142.4)
XYZxyz(12.0408, 22.6058, 5.0248)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24971F #921F97
analogous
#60971F #24971F #1F9756
triadic
#24971F #1F2497 #971F24
tetradic
#24971F #1F6097 #921F97 #97561F
square
#24971F #1F6097 #921F97 #97561F
split-complementary
#24971F #561F97 #971F60
monochromatic
#0C310A #186415 #24971F #30CA29 #5ADC54

Accessibility & contrast

On white

3.80
#24971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##24971F#FFFFFF#000000##000000
##24971F1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24971f;
/* rgb */ color: rgb(36, 151, 31);
/* oklch */ color: oklch(59.2% 0.184 142.4);
Tailwind
colors: {
  custom: {
    50: '#73b765',
    500: '#24971f',
    950: '#000000',
  },
}
SCSS
$custom: #24971f;
$custom-light: #73b765;
$custom-dark: #000000;
JSON
{
  "hex": "#24971f",
  "rgb": {
    "r": 36,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 117.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.18351,
    "h": 142.4
  },
  "luminance": 0.22607
}

Semantic roles & 50–950 ramp

primary
#24971F
secondary
#BB52BF
accent
#3FE9E2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #24971F

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

Preview Lab → · Contrast checker → · Palette generator →

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