#24831C#24831C

#24831C is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.162 H 142.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#24831C
RGBrgb(36, 131, 28)
HSLhsl(115, 65%, 31%)
HSVhsv(115, 79%, 51%)
CMYKcmyk(72.5%, 0%, 78.6%, 48.6%)
CIE-LABlab(47.87, -46.95, 44.51)
CIE-LCHlch(47.87, 64.70, 136.53°)
OKLaboklab(53.52% -0.1279 0.0999)
OKLCHoklch(53.52% 0.162 142)
XYZxyz(9.0529, 16.6905, 3.8429)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24831C #7B1C83
analogous
#57831C #24831C #1C8347
triadic
#24831C #1C2483 #831C24
tetradic
#24831C #1C5783 #7B1C83 #83471C
square
#24831C #1C5783 #7B1C83 #83471C
split-complementary
#24831C #471C83 #831C57
monochromatic
#081E06 #165111 #24831C #32B527 #4ED743

Accessibility & contrast

On white

4.84
#24831C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#24831C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24831C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24831C#FFFFFF#000000##FFFFFF
##24831C1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#097F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #24831c;
/* rgb */ color: rgb(36, 131, 28);
/* oklch */ color: oklch(53.5% 0.162 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ea860',
    500: '#24831c',
    950: '#000000',
  },
}
SCSS
$custom: #24831c;
$custom-light: #6ea860;
$custom-dark: #000000;
JSON
{
  "hex": "#24831c",
  "rgb": {
    "r": 36,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 115.34,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.16229,
    "h": 142
  },
  "luminance": 0.16692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24831C

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

Preview Lab → · Contrast checker → · Palette generator →

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