#24771D#24771D

#24771D is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.147 H 142.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#24771D
RGBrgb(36, 119, 29)
HSLhsl(115, 61%, 29%)
HSVhsv(115, 76%, 47%)
CMYKcmyk(69.7%, 0%, 75.6%, 53.3%)
CIE-LABlab(43.74, -42.59, 40.01)
CIE-LCHlch(43.74, 58.44, 136.79°)
OKLaboklab(50.09% -0.116 0.0907)
OKLCHoklch(50.09% 0.147 142)
XYZxyz(7.5457, 13.6566, 3.4005)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24771D #701D77
analogous
#51771D #24771D #1D7743
triadic
#24771D #1D2477 #771D24
tetradic
#24771D #1D5177 #701D77 #77431D
square
#24771D #1D5177 #701D77 #77431D
split-complementary
#24771D #431D77 #771D51
monochromatic
#071906 #154611 #24771D #33A829 #4AD03E

Accessibility & contrast

On white

5.63
#24771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#24771D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24771D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24771D#FFFFFF#000000##FFFFFF
##24771D1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0D
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#117365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #24771d;
/* rgb */ color: rgb(36, 119, 29);
/* oklch */ color: oklch(50.1% 0.147 142.0);
Tailwind
colors: {
  custom: {
    50: '#6c9f5f',
    500: '#24771d',
    950: '#000000',
  },
}
SCSS
$custom: #24771d;
$custom-light: #6c9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#24771d",
  "rgb": {
    "r": 36,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 115.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50094,
    "c": 0.14725,
    "h": 142
  },
  "luminance": 0.13657
}

Semantic roles & 50–950 ramp

primary
#24771D
secondary
#A345AB
accent
#44E4D7
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #24771D

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

Preview Lab → · Contrast checker → · Palette generator →

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