#24841F#24841F

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

Color values

HEX#24841F
RGBrgb(36, 132, 31)
HSLhsl(117, 62%, 32%)
HSVhsv(117, 77%, 52%)
CMYKcmyk(72.7%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.23, -47.06, 43.78)
CIE-LCHlch(48.23, 64.28, 137.07°)
OKLaboklab(53.82% -0.128 0.0988)
OKLCHoklch(53.82% 0.162 142.3)
XYZxyz(9.2256, 16.9755, 4.0865)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24841F #7F1F84
analogous
#57841F #24841F #1F844D
triadic
#24841F #1F2484 #841F24
tetradic
#24841F #1F5784 #7F1F84 #844D1F
square
#24841F #1F5784 #7F1F84 #844D1F
split-complementary
#24841F #4D1F84 #841F57
monochromatic
#092108 #165213 #24841F #32B62B #50D449

Accessibility & contrast

On white

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

On black

4.40
#24841F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##24841F#FFFFFF#000000##FFFFFF
##24841F1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#078071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #24841f;
/* rgb */ color: rgb(36, 132, 31);
/* oklch */ color: oklch(53.8% 0.162 142.3);
Tailwind
colors: {
  custom: {
    50: '#6fa962',
    500: '#24841f',
    950: '#000000',
  },
}
SCSS
$custom: #24841f;
$custom-light: #6fa962;
$custom-dark: #000000;
JSON
{
  "hex": "#24841f",
  "rgb": {
    "r": 36,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 117.03,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53824,
    "c": 0.16173,
    "h": 142.3
  },
  "luminance": 0.16977
}

Semantic roles & 50–950 ramp

primary
#24841F
secondary
#B148B7
accent
#43E5DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #24841F

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

Preview Lab → · Contrast checker → · Palette generator →

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