#24831F#24831F

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

Color values

HEX#24831F
RGBrgb(36, 131, 31)
HSLhsl(117, 62%, 32%)
HSVhsv(117, 76%, 51%)
CMYKcmyk(72.5%, 0%, 76.3%, 48.6%)
CIE-LABlab(47.89, -46.72, 43.43)
CIE-LCHlch(47.89, 63.79, 137.08°)
OKLaboklab(53.54% -0.1271 0.0981)
OKLCHoklch(53.54% 0.161 142.3)
XYZxyz(9.0906, 16.7056, 4.0415)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24831F #7E1F83
analogous
#56831F #24831F #1F834C
triadic
#24831F #1F2483 #831F24
tetradic
#24831F #1F5683 #7E1F83 #834C1F
square
#24831F #1F5683 #7E1F83 #834C1F
split-complementary
#24831F #4C1F83 #831F56
monochromatic
#092008 #165213 #24831F #32B42B #50D449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24831F#FFFFFF#000000##FFFFFF
##24831F1.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)
#86760B
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#087F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #24831f;
/* rgb */ color: rgb(36, 131, 31);
/* oklch */ color: oklch(53.5% 0.161 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ea862',
    500: '#24831f',
    950: '#000000',
  },
}
SCSS
$custom: #24831f;
$custom-light: #6ea862;
$custom-dark: #000000;
JSON
{
  "hex": "#24831f",
  "rgb": {
    "r": 36,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 117,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5354,
    "c": 0.16055,
    "h": 142.3
  },
  "luminance": 0.16707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24831F

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

Preview Lab → · Contrast checker → · Palette generator →

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