#24772F#24772F

#24772F is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.133 H 145.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#24772F
RGBrgb(36, 119, 47)
HSLhsl(128, 54%, 30%)
HSVhsv(128, 70%, 47%)
CMYKcmyk(69.7%, 0%, 60.5%, 53.3%)
CIE-LABlab(43.91, -40.59, 31.98)
CIE-LCHlch(43.91, 51.68, 141.77°)
OKLaboklab(50.29% -0.1097 0.0757)
OKLCHoklch(50.29% 0.133 145.4)
XYZxyz(7.8370, 13.7731, 4.9342)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24772F #77246C
analogous
#427724 #24772F #247758
triadic
#24772F #2F2477 #772F24
tetradic
#24772F #244277 #77246C #775824
square
#24772F #244277 #77246C #775824
split-complementary
#24772F #582477 #772442
monochromatic
#08190A #16481C #24772F #32A642 #4CC95D

Accessibility & contrast

On white

5.59
#24772F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#24772F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24772F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24772F#FFFFFF#000000##FFFFFF
##24772F1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C28
Deuteranopia (green-blind)
#6F6535
Tritanopia (blue-blind)
#0A7467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #24772f;
/* rgb */ color: rgb(36, 119, 47);
/* oklch */ color: oklch(50.3% 0.133 145.4);
Tailwind
colors: {
  custom: {
    50: '#6b9f6a',
    500: '#24772f',
    950: '#000000',
  },
}
SCSS
$custom: #24772f;
$custom-light: #6b9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#24772f",
  "rgb": {
    "r": 36,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 127.952,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50288,
    "c": 0.1333,
    "h": 145.4
  },
  "luminance": 0.13774
}

Semantic roles & 50–950 ramp

primary
#24772F
secondary
#AA4D9D
accent
#4BCADD
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #24772F

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

Preview Lab → · Contrast checker → · Palette generator →

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