#4C7724#4C7724

#4C7724 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.122 H 132.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4C7724
RGBrgb(76, 119, 36)
HSLhsl(91, 54%, 30%)
HSVhsv(91, 70%, 47%)
CMYKcmyk(36.1%, 0%, 69.7%, 53.3%)
CIE-LABlab(45.44, -29.60, 39.36)
CIE-LCHlch(45.44, 49.25, 126.95°)
OKLaboklab(51.96% -0.083 0.0898)
OKLCHoklch(51.96% 0.122 132.8)
XYZxyz(9.8956, 14.8571, 4.0150)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7724 #4F2477
analogous
#757724 #4C7724 #247725
triadic
#4C7724 #244C77 #77244C
tetradic
#4C7724 #247577 #4F2477 #772524
square
#4C7724 #247577 #4F2477 #772524
split-complementary
#4C7724 #252477 #772475
monochromatic
#101908 #2E4816 #4C7724 #6AA632 #88C94C

Accessibility & contrast

On white

5.29
#4C7724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4C7724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7724
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7724#FFFFFF#000000##FFFFFF
##4C77241.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E18
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#4D7266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4c7724;
/* rgb */ color: rgb(76, 119, 36);
/* oklch */ color: oklch(52.0% 0.122 132.8);
Tailwind
colors: {
  custom: {
    50: '#829e63',
    500: '#4c7724',
    950: '#000000',
  },
}
SCSS
$custom: #4c7724;
$custom-light: #829e63;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7724",
  "rgb": {
    "r": 76,
    "g": 119,
    "b": 36
  },
  "hsl": {
    "h": 91.084,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51964,
    "c": 0.12231,
    "h": 132.8
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#4C7724
secondary
#7D4DAA
accent
#4BDD97
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4C7724

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

Preview Lab → · Contrast checker → · Palette generator →

#4C7724 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva