#24871A#24871A

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

Color values

HEX#24871A
RGBrgb(36, 135, 26)
HSLhsl(114, 68%, 32%)
HSVhsv(114, 81%, 53%)
CMYKcmyk(73.3%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.22, -48.47, 46.51)
CIE-LCHlch(49.22, 67.17, 136.18°)
OKLaboklab(54.64% -0.1321 0.1038)
OKLCHoklch(54.64% 0.168 141.8)
XYZxyz(9.5774, 17.7765, 3.9036)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24871A #7D1A87
analogous
#5B871A #24871A #1A8747
triadic
#24871A #1A2487 #871A24
tetradic
#24871A #1A5B87 #7D1A87 #87471A
square
#24871A #1A5B87 #7D1A87 #87471A
split-complementary
#24871A #471A87 #871A5B
monochromatic
#092006 #165410 #24871A #32BA24 #4FDA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24871A#FFFFFF#000000##FFFFFF
##24871A1.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)
#8A7A00
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#068373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #24871a;
/* rgb */ color: rgb(36, 135, 26);
/* oklch */ color: oklch(54.6% 0.168 141.8);
Tailwind
colors: {
  custom: {
    50: '#70ab60',
    500: '#24871a',
    950: '#000000',
  },
}
SCSS
$custom: #24871a;
$custom-light: #70ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#24871a",
  "rgb": {
    "r": 36,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 114.495,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5464,
    "c": 0.16798,
    "h": 141.8
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#24871A
secondary
#AF42BA
accent
#3DEBDB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #24871A

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

Preview Lab → · Contrast checker → · Palette generator →

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