#24731B#24731B

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

Color values

HEX#24731B
RGBrgb(36, 115, 27)
HSLhsl(114, 62%, 28%)
HSVhsv(114, 77%, 45%)
CMYKcmyk(68.7%, 0%, 76.5%, 54.9%)
CIE-LABlab(42.33, -41.29, 39.37)
CIE-LCHlch(42.33, 57.05, 136.36°)
OKLaboklab(48.92% -0.1126 0.0891)
OKLCHoklch(48.92% 0.144 141.7)
XYZxyz(7.0557, 12.7149, 3.1191)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24731B #6A1B73
analogous
#50731B #24731B #1B733E
triadic
#24731B #1B2473 #731B24
tetradic
#24731B #1B5073 #6A1B73 #733E1B
square
#24731B #1B5073 #6A1B73 #733E1B
split-complementary
#24731B #3E1B73 #731B50
monochromatic
#081906 #14410F #24731B #34A527 #48D038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #24731b;
/* rgb */ color: rgb(36, 115, 27);
/* oklch */ color: oklch(48.9% 0.144 141.7);
Tailwind
colors: {
  custom: {
    50: '#6b9c5e',
    500: '#24731b',
    950: '#000000',
  },
}
SCSS
$custom: #24731b;
$custom-light: #6b9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#24731b",
  "rgb": {
    "r": 36,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 113.864,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48924,
    "c": 0.14357,
    "h": 141.7
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#24731B
secondary
#9D42A8
accent
#43E5D4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #24731B

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

Preview Lab → · Contrast checker → · Palette generator →

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