#4D7528#4D7528

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

Color values

HEX#4D7528
RGBrgb(77, 117, 40)
HSLhsl(91, 49%, 31%)
HSVhsv(91, 66%, 46%)
CMYKcmyk(34.2%, 0%, 65.8%, 54.1%)
CIE-LABlab(44.88, -27.90, 36.96)
CIE-LCHlch(44.88, 46.30, 127.05°)
OKLaboklab(51.53% -0.0781 0.0853)
OKLCHoklch(51.53% 0.116 132.5)
XYZxyz(9.8047, 14.4532, 4.2802)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7528 #502875
analogous
#737528 #4D7528 #287529
triadic
#4D7528 #284D75 #75284D
tetradic
#4D7528 #287375 #502875 #752928
square
#4D7528 #287375 #502875 #752928
split-complementary
#4D7528 #292875 #752873
monochromatic
#111A09 #2F4718 #4D7528 #6BA338 #89C453

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7528#FFFFFF#000000##FFFFFF
##4D75281.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)
#7A6C1F
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#4E7065
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d7528;
/* rgb */ color: rgb(77, 117, 40);
/* oklch */ color: oklch(51.5% 0.116 132.5);
Tailwind
colors: {
  custom: {
    50: '#829d66',
    500: '#4d7528',
    950: '#000000',
  },
}
SCSS
$custom: #4d7528;
$custom-light: #829d66;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7528",
  "rgb": {
    "r": 77,
    "g": 117,
    "b": 40
  },
  "hsl": {
    "h": 91.169,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51533,
    "c": 0.11562,
    "h": 132.5
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#4D7528
secondary
#7E52A7
accent
#4FD997
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4D7528

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

Preview Lab → · Contrast checker → · Palette generator →

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