#24871B#24871B

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

Color values

HEX#24871B
RGBrgb(36, 135, 27)
HSLhsl(115, 67%, 32%)
HSVhsv(115, 80%, 53%)
CMYKcmyk(73.3%, 0%, 80%, 47.1%)
CIE-LABlab(49.23, -48.40, 46.18)
CIE-LCHlch(49.23, 66.90, 136.34°)
OKLaboklab(54.65% -0.1318 0.1033)
OKLCHoklch(54.65% 0.167 141.9)
XYZxyz(9.5888, 17.7811, 3.9634)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24871B #7E1B87
analogous
#5A871B #24871B #1B8748
triadic
#24871B #1B2487 #871B24
tetradic
#24871B #1B5A87 #7E1B87 #87481B
square
#24871B #1B5A87 #7E1B87 #87481B
split-complementary
#24871B #481B87 #871B5A
monochromatic
#092107 #165411 #24871B #32BA25 #50D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24871B#FFFFFF#000000##FFFFFF
##24871B1.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)
#8A7A00
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#058373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #24871b;
/* rgb */ color: rgb(36, 135, 27);
/* oklch */ color: oklch(54.6% 0.167 141.9);
Tailwind
colors: {
  custom: {
    50: '#6fab60',
    500: '#24871b',
    950: '#000000',
  },
}
SCSS
$custom: #24871b;
$custom-light: #6fab60;
$custom-dark: #000000;
JSON
{
  "hex": "#24871b",
  "rgb": {
    "r": 36,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 115,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54646,
    "c": 0.16747,
    "h": 141.9
  },
  "luminance": 0.17782
}

Semantic roles & 50–950 ramp

primary
#24871B
secondary
#B044BA
accent
#3EEADB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #24871B

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

Preview Lab → · Contrast checker → · Palette generator →

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