#24872F#24872F

#24872F is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.154 H 144.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#24872F
RGBrgb(36, 135, 47)
HSLhsl(127, 58%, 34%)
HSVhsv(127, 73%, 53%)
CMYKcmyk(73.3%, 0%, 65.2%, 47.1%)
CIE-LABlab(49.38, -46.54, 38.25)
CIE-LCHlch(49.38, 60.24, 140.58°)
OKLaboklab(54.82% -0.1258 0.0892)
OKLCHoklch(54.82% 0.154 144.7)
XYZxyz(9.9040, 17.9071, 5.6232)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24872F #87247C
analogous
#4A8724 #24872F #248760
triadic
#24872F #2F2487 #872F24
tetradic
#24872F #244A87 #87247C #876024
square
#24872F #244A87 #87247C #876024
split-complementary
#24872F #602487 #87244A
monochromatic
#0A260D #17571E #24872F #31B740 #54D162

Accessibility & contrast

On white

4.58
#24872F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#24872F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #24872F
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24872F#FFFFFF#000000##000000
##24872F1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#7E7237
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #24872f;
/* rgb */ color: rgb(36, 135, 47);
/* oklch */ color: oklch(54.8% 0.154 144.7);
Tailwind
colors: {
  custom: {
    50: '#6eab6b',
    500: '#24872f',
    950: '#000000',
  },
}
SCSS
$custom: #24872f;
$custom-light: #6eab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#24872f",
  "rgb": {
    "r": 36,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 126.667,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.15421,
    "h": 144.7
  },
  "luminance": 0.17908
}

Semantic roles & 50–950 ramp

primary
#24872F
secondary
#B551AA
accent
#47D0E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #24872F

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

Preview Lab → · Contrast checker → · Palette generator →

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