#24731F#24731F

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

Color values

HEX#24731F
RGBrgb(36, 115, 31)
HSLhsl(116, 58%, 29%)
HSVhsv(116, 73%, 45%)
CMYKcmyk(68.7%, 0%, 73%, 54.9%)
CIE-LABlab(42.36, -40.93, 37.77)
CIE-LCHlch(42.36, 55.69, 137.30°)
OKLaboklab(48.96% -0.1114 0.0862)
OKLCHoklch(48.96% 0.141 142.3)
XYZxyz(7.1052, 12.7347, 3.3797)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24731F #6E1F73
analogous
#4E731F #24731F #1F7344
triadic
#24731F #1F2473 #731F24
tetradic
#24731F #1F4E73 #6E1F73 #73441F
square
#24731F #1F4E73 #6E1F73 #73441F
split-complementary
#24731F #441F73 #731F4E
monochromatic
#081806 #154312 #24731F #33A32C #49CC41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24731F#FFFFFF#000000##FFFFFF
##24731F1.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)
#766812
Deuteranopia (green-blind)
#6C6227
Tritanopia (blue-blind)
#136F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #24731f;
/* rgb */ color: rgb(36, 115, 31);
/* oklch */ color: oklch(49.0% 0.141 142.3);
Tailwind
colors: {
  custom: {
    50: '#6b9c60',
    500: '#24731f',
    950: '#000000',
  },
}
SCSS
$custom: #24731f;
$custom-light: #6b9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#24731f",
  "rgb": {
    "r": 36,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 116.429,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48959,
    "c": 0.1409,
    "h": 142.3
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#24731F
secondary
#A147A7
accent
#47E1D8
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #24731F

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

Preview Lab → · Contrast checker → · Palette generator →

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