#24872C#24872C

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

Color values

HEX#24872C
RGBrgb(36, 135, 44)
HSLhsl(125, 58%, 34%)
HSVhsv(125, 73%, 53%)
CMYKcmyk(73.3%, 0%, 67.4%, 47.1%)
CIE-LABlab(49.35, -46.88, 39.59)
CIE-LCHlch(49.35, 61.36, 139.82°)
OKLaboklab(54.79% -0.1269 0.0917)
OKLCHoklch(54.79% 0.157 144.1)
XYZxyz(9.8455, 17.8838, 5.3154)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24872C #87247F
analogous
#4D8724 #24872C #24875D
triadic
#24872C #2C2487 #872C24
tetradic
#24872C #244D87 #87247F #875D24
square
#24872C #244D87 #87247F #875D24
split-complementary
#24872C #5D2487 #87244D
monochromatic
#0A260D #17571C #24872C #31B73C #54D15E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24872C#FFFFFF#000000##FFFFFF
##24872C1.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)
#8A7A20
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #24872c;
/* rgb */ color: rgb(36, 135, 44);
/* oklch */ color: oklch(54.8% 0.157 144.1);
Tailwind
colors: {
  custom: {
    50: '#6fab69',
    500: '#24872c',
    950: '#000000',
  },
}
SCSS
$custom: #24872c;
$custom-light: #6fab69;
$custom-dark: #000000;
JSON
{
  "hex": "#24872c",
  "rgb": {
    "r": 36,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 124.848,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5479,
    "c": 0.15654,
    "h": 144.1
  },
  "luminance": 0.17885
}

Semantic roles & 50–950 ramp

primary
#24872C
secondary
#B551AD
accent
#47D5E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #24872C

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

Preview Lab → · Contrast checker → · Palette generator →

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