#24872B#24872B

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

Color values

HEX#24872B
RGBrgb(36, 135, 43)
HSLhsl(124, 58%, 34%)
HSVhsv(124, 73%, 53%)
CMYKcmyk(73.3%, 0%, 68.1%, 47.1%)
CIE-LABlab(49.35, -46.99, 40.02)
CIE-LCHlch(49.35, 61.72, 139.58°)
OKLaboklab(54.78% -0.1272 0.0925)
OKLCHoklch(54.78% 0.157 144)
XYZxyz(9.8269, 17.8763, 5.2176)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24872B #872480
analogous
#4E8724 #24872B #24875C
triadic
#24872B #2B2487 #872B24
tetradic
#24872B #244E87 #872480 #875C24
square
#24872B #244E87 #872480 #875C24
split-complementary
#24872B #5C2487 #87244E
monochromatic
#0A260C #17571C #24872B #31B73A #54D15D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24872B#FFFFFF#000000##FFFFFF
##24872B1.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)
#8A7A1F
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #24872b;
/* rgb */ color: rgb(36, 135, 43);
/* oklch */ color: oklch(54.8% 0.157 144.0);
Tailwind
colors: {
  custom: {
    50: '#6fab69',
    500: '#24872b',
    950: '#000000',
  },
}
SCSS
$custom: #24872b;
$custom-light: #6fab69;
$custom-dark: #000000;
JSON
{
  "hex": "#24872b",
  "rgb": {
    "r": 36,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 124.242,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5478,
    "c": 0.15729,
    "h": 144
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#24872B
secondary
#B551AE
accent
#47D6E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #24872B

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

Preview Lab → · Contrast checker → · Palette generator →

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