#4D8724#4D8724

#4D8724 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.3% C 0.144 H 135.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4D8724
RGBrgb(77, 135, 36)
HSLhsl(95, 58%, 34%)
HSVhsv(95, 73%, 53%)
CMYKcmyk(43%, 0%, 73.3%, 47.1%)
CIE-LABlab(50.73, -36.48, 44.85)
CIE-LCHlch(50.73, 57.81, 129.12°)
OKLaboklab(56.3% -0.1018 0.1013)
OKLCHoklch(56.3% 0.144 135.1)
XYZxyz(12.0427, 19.0324, 4.7078)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8724 #5E2487
analogous
#7E8724 #4D8724 #24872D
triadic
#4D8724 #244D87 #87244D
tetradic
#4D8724 #247E87 #5E2487 #872D24
square
#4D8724 #247E87 #5E2487 #872D24
split-complementary
#4D8724 #2D2487 #87247E
monochromatic
#16260A #315717 #4D8724 #69B731 #88D154

Accessibility & contrast

On white

4.37
#4D8724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4D8724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8724
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8724#FFFFFF#000000##000000
##4D87241.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C13
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#4C8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d8724;
/* rgb */ color: rgb(77, 135, 36);
/* oklch */ color: oklch(56.3% 0.144 135.1);
Tailwind
colors: {
  custom: {
    50: '#84aa65',
    500: '#4d8724',
    950: '#000000',
  },
}
SCSS
$custom: #4d8724;
$custom-light: #84aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8724",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 95.152,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56299,
    "c": 0.1436,
    "h": 135.1
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

primary
#4D8724
secondary
#8C51B5
accent
#47E1A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8724

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

Preview Lab → · Contrast checker → · Palette generator →

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