#24871E#24871E

#24871E is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.166 H 142.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#24871E
RGBrgb(36, 135, 30)
HSLhsl(117, 64%, 32%)
HSVhsv(117, 78%, 53%)
CMYKcmyk(73.3%, 0%, 77.8%, 47.1%)
CIE-LABlab(49.25, -48.18, 45.16)
CIE-LCHlch(49.25, 66.04, 136.86°)
OKLaboklab(54.67% -0.1311 0.1016)
OKLCHoklch(54.67% 0.166 142.2)
XYZxyz(9.6253, 17.7957, 4.1557)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24871E #811E87
analogous
#59871E #24871E #1E874C
triadic
#24871E #1E2487 #871E24
tetradic
#24871E #1E5987 #811E87 #874C1E
square
#24871E #1E5987 #811E87 #874C1E
split-complementary
#24871E #4C1E87 #871E59
monochromatic
#092308 #175513 #24871E #31B929 #51D749

Accessibility & contrast

On white

4.61
#24871E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#24871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #24871E
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24871E#FFFFFF#000000##FFFFFF
##24871E1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A06
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#048373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #24871e;
/* rgb */ color: rgb(36, 135, 30);
/* oklch */ color: oklch(54.7% 0.166 142.2);
Tailwind
colors: {
  custom: {
    50: '#6fab62',
    500: '#24871e',
    950: '#000000',
  },
}
SCSS
$custom: #24871e;
$custom-light: #6fab62;
$custom-dark: #000000;
JSON
{
  "hex": "#24871e",
  "rgb": {
    "r": 36,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 116.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54667,
    "c": 0.16584,
    "h": 142.2
  },
  "luminance": 0.17797
}

Semantic roles & 50–950 ramp

primary
#24871E
secondary
#B248B9
accent
#41E7DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #24871E

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

Preview Lab → · Contrast checker → · Palette generator →

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