#24872D#24872D

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

Color values

HEX#24872D
RGBrgb(36, 135, 45)
HSLhsl(125, 58%, 34%)
HSVhsv(125, 73%, 53%)
CMYKcmyk(73.3%, 0%, 66.7%, 47.1%)
CIE-LABlab(49.36, -46.77, 39.15)
CIE-LCHlch(49.36, 60.99, 140.07°)
OKLaboklab(54.8% -0.1265 0.0909)
OKLCHoklch(54.8% 0.156 144.3)
XYZxyz(9.8645, 17.8914, 5.4156)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24872D #87247E
analogous
#4C8724 #24872D #24875E
triadic
#24872D #2D2487 #872D24
tetradic
#24872D #244C87 #87247E #875E24
square
#24872D #244C87 #87247E #875E24
split-complementary
#24872D #5E2487 #87244C
monochromatic
#0A260D #17571D #24872D #31B73D #54D15F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24872D#FFFFFF#000000##FFFFFF
##24872D1.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)
#8A7A22
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #24872d;
/* rgb */ color: rgb(36, 135, 45);
/* oklch */ color: oklch(54.8% 0.156 144.3);
Tailwind
colors: {
  custom: {
    50: '#6fab6a',
    500: '#24872d',
    950: '#000000',
  },
}
SCSS
$custom: #24872d;
$custom-light: #6fab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#24872d",
  "rgb": {
    "r": 36,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 125.455,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54801,
    "c": 0.15577,
    "h": 144.3
  },
  "luminance": 0.17892
}

Semantic roles & 50–950 ramp

primary
#24872D
secondary
#B551AC
accent
#47D3E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #24872D

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

Preview Lab → · Contrast checker → · Palette generator →

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