#24821C#24821C

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

Color values

HEX#24821C
RGBrgb(36, 130, 28)
HSLhsl(115, 65%, 31%)
HSVhsv(115, 78%, 51%)
CMYKcmyk(72.3%, 0%, 78.5%, 49%)
CIE-LABlab(47.52, -46.60, 44.18)
CIE-LCHlch(47.52, 64.21, 136.53°)
OKLaboklab(53.23% -0.1269 0.0992)
OKLCHoklch(53.23% 0.161 142)
XYZxyz(8.9193, 16.4232, 3.7983)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24821C #7A1C82
analogous
#57821C #24821C #1C8247
triadic
#24821C #1C2482 #821C24
tetradic
#24821C #1C5782 #7A1C82 #82471C
square
#24821C #1C5782 #7A1C82 #82471C
split-complementary
#24821C #471C82 #821C57
monochromatic
#081D06 #165011 #24821C #32B427 #4ED642

Accessibility & contrast

On white

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

On black

4.28
#24821C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##24821C#FFFFFF#000000##FFFFFF
##24821C1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857505
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#0A7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #24821c;
/* rgb */ color: rgb(36, 130, 28);
/* oklch */ color: oklch(53.2% 0.161 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ea760',
    500: '#24821c',
    950: '#000000',
  },
}
SCSS
$custom: #24821c;
$custom-light: #6ea760;
$custom-dark: #000000;
JSON
{
  "hex": "#24821c",
  "rgb": {
    "r": 36,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 115.294,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53233,
    "c": 0.16111,
    "h": 142
  },
  "luminance": 0.16424
}

Semantic roles & 50–950 ramp

primary
#24821C
secondary
#AC44B5
accent
#40E8DA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #24821C

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

Preview Lab → · Contrast checker → · Palette generator →

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