#24821F#24821F

#24821F is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.159 H 142.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#24821F
RGBrgb(36, 130, 31)
HSLhsl(117, 61%, 32%)
HSVhsv(117, 76%, 51%)
CMYKcmyk(72.3%, 0%, 76.2%, 49%)
CIE-LABlab(47.54, -46.36, 43.09)
CIE-LCHlch(47.54, 63.30, 137.10°)
OKLaboklab(53.26% -0.1261 0.0974)
OKLCHoklch(53.26% 0.159 142.3)
XYZxyz(8.9570, 16.4383, 3.9969)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24821F #7D1F82
analogous
#56821F #24821F #1F824C
triadic
#24821F #1F2482 #821F24
tetradic
#24821F #1F5682 #7D1F82 #824C1F
square
#24821F #1F5682 #7D1F82 #824C1F
split-complementary
#24821F #4C1F82 #821F56
monochromatic
#091F07 #165113 #24821F #32B32B #4FD348

Accessibility & contrast

On white

4.90
#24821F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#24821F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24821F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24821F#FFFFFF#000000##FFFFFF
##24821F1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#087E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #24821f;
/* rgb */ color: rgb(36, 130, 31);
/* oklch */ color: oklch(53.3% 0.159 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ea762',
    500: '#24821f',
    950: '#000000',
  },
}
SCSS
$custom: #24821f;
$custom-light: #6ea762;
$custom-dark: #000000;
JSON
{
  "hex": "#24821f",
  "rgb": {
    "r": 36,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 116.97,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53256,
    "c": 0.15936,
    "h": 142.3
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#24821F
secondary
#AF48B5
accent
#43E5DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #24821F

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

Preview Lab → · Contrast checker → · Palette generator →

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