#24872A#24872A

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

Color values

HEX#24872A
RGBrgb(36, 135, 42)
HSLhsl(124, 58%, 34%)
HSVhsv(124, 73%, 53%)
CMYKcmyk(73.3%, 0%, 68.9%, 47.1%)
CIE-LABlab(49.34, -47.10, 40.45)
CIE-LCHlch(49.34, 62.08, 139.34°)
OKLaboklab(54.77% -0.1276 0.0933)
OKLCHoklch(54.77% 0.158 143.8)
XYZxyz(9.8088, 17.8691, 5.1222)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24872A #872481
analogous
#4F8724 #24872A #24875B
triadic
#24872A #2A2487 #872A24
tetradic
#24872A #244F87 #872481 #875B24
square
#24872A #244F87 #872481 #875B24
split-complementary
#24872A #5B2487 #87244F
monochromatic
#0A260C #17571B #24872A #31B739 #54D15C

Accessibility & contrast

On white

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

On black

4.57
#24872A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##24872A#FFFFFF#000000##FFFFFF
##24872A1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1D
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #24872a;
/* rgb */ color: rgb(36, 135, 42);
/* oklch */ color: oklch(54.8% 0.158 143.8);
Tailwind
colors: {
  custom: {
    50: '#6fab68',
    500: '#24872a',
    950: '#000000',
  },
}
SCSS
$custom: #24872a;
$custom-light: #6fab68;
$custom-dark: #000000;
JSON
{
  "hex": "#24872a",
  "rgb": {
    "r": 36,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 123.636,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5477,
    "c": 0.15803,
    "h": 143.8
  },
  "luminance": 0.1787
}

Semantic roles & 50–950 ramp

primary
#24872A
secondary
#B551AF
accent
#47D8E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #24872A

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

Preview Lab → · Contrast checker → · Palette generator →

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