#24731C#24731C

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

Color values

HEX#24731C
RGBrgb(36, 115, 28)
HSLhsl(114, 61%, 28%)
HSVhsv(114, 76%, 45%)
CMYKcmyk(68.7%, 0%, 75.7%, 54.9%)
CIE-LABlab(42.34, -41.20, 38.98)
CIE-LCHlch(42.34, 56.72, 136.58°)
OKLaboklab(48.93% -0.1123 0.0884)
OKLCHoklch(48.93% 0.143 141.8)
XYZxyz(7.0675, 12.7197, 3.1811)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24731C #6B1C73
analogous
#4F731C #24731C #1C733F
triadic
#24731C #1C2473 #731C24
tetradic
#24731C #1C4F73 #6B1C73 #733F1C
square
#24731C #1C4F73 #6B1C73 #733F1C
split-complementary
#24731C #3F1C73 #731C4F
monochromatic
#081906 #154210 #24731C #33A428 #48CF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24731C#FFFFFF#000000##FFFFFF
##24731C1.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)
#76680D
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#146F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #24731c;
/* rgb */ color: rgb(36, 115, 28);
/* oklch */ color: oklch(48.9% 0.143 141.8);
Tailwind
colors: {
  custom: {
    50: '#6b9c5e',
    500: '#24731c',
    950: '#000000',
  },
}
SCSS
$custom: #24731c;
$custom-light: #6b9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#24731c",
  "rgb": {
    "r": 36,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 114.483,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48933,
    "c": 0.14293,
    "h": 141.8
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#24731C
secondary
#9E43A7
accent
#44E4D5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #24731C

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

Preview Lab → · Contrast checker → · Palette generator →

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