#24871D#24871D

#24871D is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.166 H 142.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#24871D
RGBrgb(36, 135, 29)
HSLhsl(116, 65%, 32%)
HSVhsv(116, 79%, 53%)
CMYKcmyk(73.3%, 0%, 78.5%, 47.1%)
CIE-LABlab(49.24, -48.26, 45.51)
CIE-LCHlch(49.24, 66.33, 136.68°)
OKLaboklab(54.66% -0.1314 0.1021)
OKLCHoklch(54.66% 0.166 142.1)
XYZxyz(9.6127, 17.7907, 4.0895)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24871D #801D87
analogous
#59871D #24871D #1D874B
triadic
#24871D #1D2487 #871D24
tetradic
#24871D #1D5987 #801D87 #874B1D
square
#24871D #1D5987 #801D87 #874B1D
split-complementary
#24871D #4B1D87 #871D59
monochromatic
#092207 #175512 #24871D #31B928 #50D747

Accessibility & contrast

On white

4.61
#24871D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#24871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #24871D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24871D#FFFFFF#000000##FFFFFF
##24871D1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A04
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#048373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #24871d;
/* rgb */ color: rgb(36, 135, 29);
/* oklch */ color: oklch(54.7% 0.166 142.1);
Tailwind
colors: {
  custom: {
    50: '#6fab61',
    500: '#24871d',
    950: '#000000',
  },
}
SCSS
$custom: #24871d;
$custom-light: #6fab61;
$custom-dark: #000000;
JSON
{
  "hex": "#24871d",
  "rgb": {
    "r": 36,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 116.038,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.16639,
    "h": 142.1
  },
  "luminance": 0.17792
}

Semantic roles & 50–950 ramp

primary
#24871D
secondary
#B246B9
accent
#40E8DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #24871D

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

Preview Lab → · Contrast checker → · Palette generator →

#24871D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva