#24872E#24872E

#24872E is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.155 H 144.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#24872E
RGBrgb(36, 135, 46)
HSLhsl(126, 58%, 34%)
HSVhsv(126, 73%, 53%)
CMYKcmyk(73.3%, 0%, 65.9%, 47.1%)
CIE-LABlab(49.37, -46.66, 38.70)
CIE-LCHlch(49.37, 60.62, 140.33°)
OKLaboklab(54.81% -0.1262 0.09)
OKLCHoklch(54.81% 0.155 144.5)
XYZxyz(9.8840, 17.8992, 5.5182)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24872E #87247D
analogous
#4B8724 #24872E #24875F
triadic
#24872E #2E2487 #872E24
tetradic
#24872E #244B87 #87247D #875F24
square
#24872E #244B87 #87247D #875F24
split-complementary
#24872E #5F2487 #87244B
monochromatic
#0A260D #17571E #24872E #31B73E #54D161

Accessibility & contrast

On white

4.59
#24872E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #24872E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24872E#FFFFFF#000000##FFFFFF
##24872E1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24872e;
/* rgb */ color: rgb(36, 135, 46);
/* oklch */ color: oklch(54.8% 0.155 144.5);
Tailwind
colors: {
  custom: {
    50: '#6eab6b',
    500: '#24872e',
    950: '#000000',
  },
}
SCSS
$custom: #24872e;
$custom-light: #6eab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#24872e",
  "rgb": {
    "r": 36,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 126.061,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54812,
    "c": 0.155,
    "h": 144.5
  },
  "luminance": 0.179
}

Semantic roles & 50–950 ramp

primary
#24872E
secondary
#B551AB
accent
#47D2E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #24872E

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

Preview Lab → · Contrast checker → · Palette generator →

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