#24871C#24871C

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

Color values

HEX#24871C
RGBrgb(36, 135, 28)
HSLhsl(116, 66%, 32%)
HSVhsv(116, 79%, 53%)
CMYKcmyk(73.3%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.24, -48.33, 45.85)
CIE-LCHlch(49.24, 66.62, 136.51°)
OKLaboklab(54.65% -0.1316 0.1027)
OKLCHoklch(54.65% 0.167 142)
XYZxyz(9.6006, 17.7858, 4.0254)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24871C #7F1C87
analogous
#5A871C #24871C #1C874A
triadic
#24871C #1C2487 #871C24
tetradic
#24871C #1C5A87 #7F1C87 #874A1C
square
#24871C #1C5A87 #7F1C87 #874A1C
split-complementary
#24871C #4A1C87 #871C5A
monochromatic
#092207 #165411 #24871C #32BA27 #50D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24871C#FFFFFF#000000##FFFFFF
##24871C1.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)
#8A7A02
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#058373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #24871c;
/* rgb */ color: rgb(36, 135, 28);
/* oklch */ color: oklch(54.7% 0.167 142.0);
Tailwind
colors: {
  custom: {
    50: '#6fab61',
    500: '#24871c',
    950: '#000000',
  },
}
SCSS
$custom: #24871c;
$custom-light: #6fab61;
$custom-dark: #000000;
JSON
{
  "hex": "#24871c",
  "rgb": {
    "r": 36,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 115.514,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54653,
    "c": 0.16694,
    "h": 142
  },
  "luminance": 0.17787
}

Semantic roles & 50–950 ramp

primary
#24871C
secondary
#B145BA
accent
#3FE9DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #24871C

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

Preview Lab → · Contrast checker → · Palette generator →

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