#4D7524#4D7524

#4D7524 is a mid, moderate yellow-green. Relative luminance 0.144; OKLCH L 51.5% C 0.119 H 131.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4D7524
RGBrgb(77, 117, 36)
HSLhsl(90, 53%, 30%)
HSVhsv(90, 69%, 46%)
CMYKcmyk(34.2%, 0%, 69.2%, 54.1%)
CIE-LABlab(44.84, -28.26, 38.74)
CIE-LCHlch(44.84, 47.95, 126.11°)
OKLaboklab(51.49% -0.0794 0.0885)
OKLCHoklch(51.49% 0.119 131.9)
XYZxyz(9.7402, 14.4274, 3.9403)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7524 #4C2475
analogous
#757524 #4D7524 #247524
triadic
#4D7524 #244D75 #75244D
tetradic
#4D7524 #247575 #4C2475 #752424
square
#4D7524 #247575 #4C2475 #752424
split-complementary
#4D7524 #242475 #752475
monochromatic
#0F1707 #2E4616 #4D7524 #6CA432 #8AC84C

Accessibility & contrast

On white

5.40
#4D7524 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4D7524 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7524
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7524#FFFFFF#000000##FFFFFF
##4D75241.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C19
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#4E7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d7524;
/* rgb */ color: rgb(77, 117, 36);
/* oklch */ color: oklch(51.5% 0.119 131.9);
Tailwind
colors: {
  custom: {
    50: '#829d63',
    500: '#4d7524',
    950: '#000000',
  },
}
SCSS
$custom: #4d7524;
$custom-light: #829d63;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7524",
  "rgb": {
    "r": 77,
    "g": 117,
    "b": 36
  },
  "hsl": {
    "h": 89.63,
    "s": 52.941,
    "l": 30
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.11892,
    "h": 131.9
  },
  "luminance": 0.14428
}

Semantic roles & 50–950 ramp

primary
#4D7524
secondary
#7A4DA8
accent
#4BDC93
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4D7524

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

Preview Lab → · Contrast checker → · Palette generator →

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