#4D7520#4D7520

#4D7520 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.5% C 0.122 H 131.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4D7520
RGBrgb(77, 117, 32)
HSLhsl(88, 57%, 29%)
HSVhsv(88, 73%, 46%)
CMYKcmyk(34.2%, 0%, 72.6%, 54.1%)
CIE-LABlab(44.81, -28.58, 40.43)
CIE-LCHlch(44.81, 49.52, 125.26°)
OKLaboklab(51.46% -0.0807 0.0915)
OKLCHoklch(51.46% 0.122 131.4)
XYZxyz(9.6825, 14.4043, 3.6364)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7520 #482075
analogous
#757320 #4D7520 #237520
triadic
#4D7520 #204D75 #75204D
tetradic
#4D7520 #207573 #482075 #752023
square
#4D7520 #207573 #482075 #752023
split-complementary
#4D7520 #202375 #732075
monochromatic
#101807 #2D4513 #4D7520 #6DA52D #8CCC44

Accessibility & contrast

On white

5.41
#4D7520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4D7520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7520
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7520#FFFFFF#000000##FFFFFF
##4D75201.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C13
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#4E7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d7520;
/* rgb */ color: rgb(77, 117, 32);
/* oklch */ color: oklch(51.5% 0.122 131.4);
Tailwind
colors: {
  custom: {
    50: '#829d61',
    500: '#4d7520',
    950: '#000000',
  },
}
SCSS
$custom: #4d7520;
$custom-light: #829d61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7520",
  "rgb": {
    "r": 77,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 88.235,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51455,
    "c": 0.12195,
    "h": 131.4
  },
  "luminance": 0.14405
}

Semantic roles & 50–950 ramp

primary
#4D7520
secondary
#7648A8
accent
#47E08F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D7520

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

Preview Lab → · Contrast checker → · Palette generator →

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