#24972F#24972F

#24972F is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.3% C 0.174 H 144.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#24972F
RGBrgb(36, 151, 47)
HSLhsl(126, 61%, 37%)
HSVhsv(126, 76%, 59%)
CMYKcmyk(76.2%, 0%, 68.9%, 40.8%)
CIE-LABlab(54.77, -52.11, 44.17)
CIE-LCHlch(54.77, 68.31, 139.72°)
OKLaboklab(59.29% -0.1409 0.1017)
OKLCHoklch(59.29% 0.174 144.2)
XYZxyz(12.3064, 22.7121, 6.4241)
Luminance0.2271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24972F #97248C
analogous
#539724 #24972F #249769
triadic
#24972F #2F2497 #972F24
tetradic
#24972F #245397 #97248C #976924
square
#24972F #245397 #97248C #976924
split-complementary
#24972F #692497 #972453
monochromatic
#0C3410 #186620 #24972F #30C83E #5DD869

Accessibility & contrast

On white

3.79
#24972F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#24972F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #24972F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24972F#FFFFFF#000000##000000
##24972F1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8821
Deuteranopia (green-blind)
#8D8039
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #24972f;
/* rgb */ color: rgb(36, 151, 47);
/* oklch */ color: oklch(59.3% 0.174 144.2);
Tailwind
colors: {
  custom: {
    50: '#72b76d',
    500: '#24972f',
    950: '#000000',
  },
}
SCSS
$custom: #24972f;
$custom-light: #72b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#24972f",
  "rgb": {
    "r": 36,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 125.739,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59295,
    "c": 0.1738,
    "h": 144.2
  },
  "luminance": 0.22714
}

Semantic roles & 50–950 ramp

primary
#24972F
secondary
#BD5AB4
accent
#43D5E5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #24972F

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

Preview Lab → · Contrast checker → · Palette generator →

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