#4D7221#4D7221

#4D7221 is a mid, moderate yellow-green. Relative luminance 0.137; OKLCH L 50.7% C 0.117 H 130.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4D7221
RGBrgb(77, 114, 33)
HSLhsl(87, 55%, 29%)
HSVhsv(87, 71%, 45%)
CMYKcmyk(32.5%, 0%, 71.1%, 55.3%)
CIE-LABlab(43.83, -27.06, 39.00)
CIE-LCHlch(43.83, 47.47, 124.76°)
OKLaboklab(50.66% -0.0764 0.0886)
OKLCHoklch(50.66% 0.117 130.8)
XYZxyz(9.3523, 13.7219, 3.5944)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7221 #462172
analogous
#726F21 #4D7221 #257221
triadic
#4D7221 #214D72 #72214D
tetradic
#4D7221 #21726F #462172 #722125
square
#4D7221 #21726F #462172 #722125
split-complementary
#4D7221 #212572 #6F2172
monochromatic
#101807 #2D4313 #4D7221 #6DA12F #8CC944

Accessibility & contrast

On white

5.61
#4D7221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4D7221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7221
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7221#FFFFFF#000000##FFFFFF
##4D72211.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776915
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#4F6D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d7221;
/* rgb */ color: rgb(77, 114, 33);
/* oklch */ color: oklch(50.7% 0.117 130.8);
Tailwind
colors: {
  custom: {
    50: '#829b61',
    500: '#4d7221',
    950: '#000000',
  },
}
SCSS
$custom: #4d7221;
$custom-light: #829b61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7221",
  "rgb": {
    "r": 77,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 87.407,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50663,
    "c": 0.11701,
    "h": 130.8
  },
  "luminance": 0.13722
}

Semantic roles & 50–950 ramp

primary
#4D7221
secondary
#7349A5
accent
#49DE8D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D7221

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

Preview Lab → · Contrast checker → · Palette generator →

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