#24731D#24731D

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

Color values

HEX#24731D
RGBrgb(36, 115, 29)
HSLhsl(115, 60%, 28%)
HSVhsv(115, 75%, 45%)
CMYKcmyk(68.7%, 0%, 74.8%, 54.9%)
CIE-LABlab(42.35, -41.11, 38.59)
CIE-LCHlch(42.35, 56.38, 136.82°)
OKLaboklab(48.94% -0.112 0.0877)
OKLCHoklch(48.94% 0.142 141.9)
XYZxyz(7.0797, 12.7245, 3.2451)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24731D #6C1D73
analogous
#4F731D #24731D #1D7341
triadic
#24731D #1D2473 #731D24
tetradic
#24731D #1D4F73 #6C1D73 #73411D
square
#24731D #1D4F73 #6C1D73 #73411D
split-complementary
#24731D #411D73 #731D4F
monochromatic
#081806 #154211 #24731D #33A429 #48CE3C

Accessibility & contrast

On white

5.92
#24731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#24731D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24731D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24731D#FFFFFF#000000##FFFFFF
##24731D1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680F
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#146F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #24731d;
/* rgb */ color: rgb(36, 115, 29);
/* oklch */ color: oklch(48.9% 0.142 141.9);
Tailwind
colors: {
  custom: {
    50: '#6b9c5f',
    500: '#24731d',
    950: '#000000',
  },
}
SCSS
$custom: #24731d;
$custom-light: #6b9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#24731d",
  "rgb": {
    "r": 36,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 115.116,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48941,
    "c": 0.14227,
    "h": 141.9
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#24731D
secondary
#9F45A7
accent
#45E3D6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #24731D

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

Preview Lab → · Contrast checker → · Palette generator →

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