#4D6522#4D6522

#4D6522 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.2% C 0.097 H 126.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4D6522
RGBrgb(77, 101, 34)
HSLhsl(81, 50%, 26%)
HSVhsv(81, 66%, 40%)
CMYKcmyk(23.8%, 0%, 66.3%, 60.4%)
CIE-LABlab(39.58, -20.42, 34.02)
CIE-LCHlch(39.58, 39.68, 120.98°)
OKLaboklab(47.22% -0.0581 0.0782)
OKLCHoklch(47.22% 0.097 126.6)
XYZxyz(8.0030, 11.0005, 3.2147)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6522 #3A2265
analogous
#655C22 #4D6522 #2B6522
triadic
#4D6522 #224D65 #65224D
tetradic
#4D6522 #22655C #3A2265 #65222B
square
#4D6522 #22655C #3A2265 #65222B
split-complementary
#4D6522 #222B65 #5C2265
monochromatic
#111708 #2A3713 #4D6522 #709331 #92BF42

Accessibility & contrast

On white

6.56
#4D6522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4D6522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6522
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6522#FFFFFF#000000##FFFFFF
##4D65221.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1A
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#506057
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d6522;
/* rgb */ color: rgb(77, 101, 34);
/* oklch */ color: oklch(47.2% 0.097 126.6);
Tailwind
colors: {
  custom: {
    50: '#819160',
    500: '#4d6522',
    950: '#000000',
  },
}
SCSS
$custom: #4d6522;
$custom-light: #819160;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6522",
  "rgb": {
    "r": 77,
    "g": 101,
    "b": 34
  },
  "hsl": {
    "h": 81.493,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47217,
    "c": 0.09745,
    "h": 126.6
  },
  "luminance": 0.11001
}

Semantic roles & 50–950 ramp

primary
#4D6522
secondary
#664A99
accent
#4FD980
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4D6522

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

Preview Lab → · Contrast checker → · Palette generator →

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