#4D7724#4D7724

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

Color values

HEX#4D7724
RGBrgb(77, 119, 36)
HSLhsl(90, 54%, 30%)
HSVhsv(90, 70%, 47%)
CMYKcmyk(35.3%, 0%, 69.7%, 53.3%)
CIE-LABlab(45.49, -29.21, 39.44)
CIE-LCHlch(45.49, 49.08, 126.53°)
OKLaboklab(52.03% -0.082 0.09)
OKLCHoklch(52.03% 0.122 132.4)
XYZxyz(9.9757, 14.8984, 4.0188)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7724 #4E2477
analogous
#767724 #4D7724 #247724
triadic
#4D7724 #244D77 #77244D
tetradic
#4D7724 #247677 #4E2477 #772424
square
#4D7724 #247677 #4E2477 #772424
split-complementary
#4D7724 #242477 #772476
monochromatic
#101908 #2F4816 #4D7724 #6BA632 #8AC94C

Accessibility & contrast

On white

5.28
#4D7724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4D7724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7724
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7724#FFFFFF#000000##FFFFFF
##4D77241.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d7724;
/* rgb */ color: rgb(77, 119, 36);
/* oklch */ color: oklch(52.0% 0.122 132.4);
Tailwind
colors: {
  custom: {
    50: '#829e63',
    500: '#4d7724',
    950: '#000000',
  },
}
SCSS
$custom: #4d7724;
$custom-light: #829e63;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7724",
  "rgb": {
    "r": 77,
    "g": 119,
    "b": 36
  },
  "hsl": {
    "h": 90.361,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.12175,
    "h": 132.4
  },
  "luminance": 0.14899
}

Semantic roles & 50–950 ramp

primary
#4D7724
secondary
#7C4DAA
accent
#4BDD95
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4D7724

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

Preview Lab → · Contrast checker → · Palette generator →

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