#24841C#24841C

#24841C is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.163 H 142.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#24841C
RGBrgb(36, 132, 28)
HSLhsl(115, 65%, 31%)
HSVhsv(115, 79%, 52%)
CMYKcmyk(72.7%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.21, -47.30, 44.85)
CIE-LCHlch(48.21, 65.18, 136.52°)
OKLaboklab(53.8% -0.1288 0.1006)
OKLCHoklch(53.8% 0.163 142)
XYZxyz(9.1879, 16.9604, 3.8879)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24841C #7C1C84
analogous
#58841C #24841C #1C8448
triadic
#24841C #1C2484 #841C24
tetradic
#24841C #1C5884 #7C1C84 #84481C
square
#24841C #1C5884 #7C1C84 #84481C
split-complementary
#24841C #481C84 #841C58
monochromatic
#081F07 #165211 #24841C #32B627 #4FD743

Accessibility & contrast

On white

4.78
#24841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#24841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24841C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24841C#FFFFFF#000000##FFFFFF
##24841C1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877703
Deuteranopia (green-blind)
#7C7028
Tritanopia (blue-blind)
#088070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #24841c;
/* rgb */ color: rgb(36, 132, 28);
/* oklch */ color: oklch(53.8% 0.163 142.0);
Tailwind
colors: {
  custom: {
    50: '#6fa961',
    500: '#24841c',
    950: '#000000',
  },
}
SCSS
$custom: #24841c;
$custom-light: #6fa961;
$custom-dark: #000000;
JSON
{
  "hex": "#24841c",
  "rgb": {
    "r": 36,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 115.385,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.16345,
    "h": 142
  },
  "luminance": 0.16961
}

Semantic roles & 50–950 ramp

primary
#24841C
secondary
#AE45B7
accent
#40E8DB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #24841C

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

Preview Lab → · Contrast checker → · Palette generator →

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