#24831A#24831A

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

Color values

HEX#24831A
RGBrgb(36, 131, 26)
HSLhsl(114, 67%, 31%)
HSVhsv(114, 80%, 51%)
CMYKcmyk(72.5%, 0%, 80.2%, 48.6%)
CIE-LABlab(47.86, -47.09, 45.19)
CIE-LCHlch(47.86, 65.27, 136.18°)
OKLaboklab(53.5% -0.1284 0.1011)
OKLCHoklch(53.5% 0.163 141.8)
XYZxyz(9.0298, 16.6813, 3.7210)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24831A #791A83
analogous
#58831A #24831A #1A8344
triadic
#24831A #1A2483 #831A24
tetradic
#24831A #1A5883 #791A83 #83441A
square
#24831A #1A5883 #791A83 #83441A
split-complementary
#24831A #441A83 #831A58
monochromatic
#081D06 #165010 #24831A #32B624 #4DD93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24831A#FFFFFF#000000##FFFFFF
##24831A1.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)
#867600
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#0A7F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #24831a;
/* rgb */ color: rgb(36, 131, 26);
/* oklch */ color: oklch(53.5% 0.163 141.8);
Tailwind
colors: {
  custom: {
    50: '#6fa85f',
    500: '#24831a',
    950: '#000000',
  },
}
SCSS
$custom: #24831a;
$custom-light: #6fa85f;
$custom-dark: #000000;
JSON
{
  "hex": "#24831a",
  "rgb": {
    "r": 36,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 114.286,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53504,
    "c": 0.16336,
    "h": 141.8
  },
  "luminance": 0.16682
}

Semantic roles & 50–950 ramp

primary
#24831A
secondary
#AC42B7
accent
#3EEAD9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #24831A

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

Preview Lab → · Contrast checker → · Palette generator →

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