#24731A#24731A

#24731A is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.144 H 141.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#24731A
RGBrgb(36, 115, 26)
HSLhsl(113, 63%, 28%)
HSVhsv(113, 77%, 45%)
CMYKcmyk(68.7%, 0%, 77.4%, 54.9%)
CIE-LABlab(42.32, -41.37, 39.76)
CIE-LCHlch(42.32, 57.38, 136.14°)
OKLaboklab(48.92% -0.1129 0.0897)
OKLCHoklch(48.92% 0.144 141.5)
XYZxyz(7.0444, 12.7104, 3.0592)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24731A #691A73
analogous
#51731A #24731A #1A733C
triadic
#24731A #1A2473 #731A24
tetradic
#24731A #1A5173 #691A73 #733C1A
square
#24731A #1A5173 #691A73 #733C1A
split-complementary
#24731A #3C1A73 #731A51
monochromatic
#081906 #14410F #24731A #34A525 #47D236

Accessibility & contrast

On white

5.93
#24731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#24731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24731A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24731A#FFFFFF#000000##FFFFFF
##24731A1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766808
Deuteranopia (green-blind)
#6D6123
Tritanopia (blue-blind)
#146F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #24731a;
/* rgb */ color: rgb(36, 115, 26);
/* oklch */ color: oklch(48.9% 0.144 141.5);
Tailwind
colors: {
  custom: {
    50: '#6b9c5d',
    500: '#24731a',
    950: '#000000',
  },
}
SCSS
$custom: #24731a;
$custom-light: #6b9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#24731a",
  "rgb": {
    "r": 36,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 113.258,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48916,
    "c": 0.1442,
    "h": 141.5
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#24731A
secondary
#9C41A8
accent
#42E6D4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #24731A

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

Preview Lab → · Contrast checker → · Palette generator →

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