#4D7522#4D7522

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

Color values

HEX#4D7522
RGBrgb(77, 117, 34)
HSLhsl(89, 55%, 30%)
HSVhsv(89, 71%, 46%)
CMYKcmyk(34.2%, 0%, 70.9%, 54.1%)
CIE-LABlab(44.82, -28.43, 39.60)
CIE-LCHlch(44.82, 48.75, 125.67°)
OKLaboklab(51.47% -0.0801 0.09)
OKLCHoklch(51.47% 0.12 131.7)
XYZxyz(9.7105, 14.4155, 3.7839)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7522 #4A2275
analogous
#757422 #4D7522 #237522
triadic
#4D7522 #224D75 #75224D
tetradic
#4D7522 #227574 #4A2275 #752223
square
#4D7522 #227574 #4A2275 #752223
split-complementary
#4D7522 #222375 #742275
monochromatic
#101807 #2E4614 #4D7522 #6CA430 #8BCA48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7522#FFFFFF#000000##FFFFFF
##4D75221.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)
#7A6C16
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#4E7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d7522;
/* rgb */ color: rgb(77, 117, 34);
/* oklch */ color: oklch(51.5% 0.120 131.7);
Tailwind
colors: {
  custom: {
    50: '#829d62',
    500: '#4d7522',
    950: '#000000',
  },
}
SCSS
$custom: #4d7522;
$custom-light: #829d62;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7522",
  "rgb": {
    "r": 77,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 88.916,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51473,
    "c": 0.12046,
    "h": 131.7
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#4D7522
secondary
#784BA8
accent
#49DE91
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4D7522

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

Preview Lab → · Contrast checker → · Palette generator →

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