#4D7232#4D7232

#4D7232 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 50.9% C 0.102 H 133.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4D7232
RGBrgb(77, 114, 50)
HSLhsl(95, 39%, 32%)
HSVhsv(95, 56%, 45%)
CMYKcmyk(32.5%, 0%, 56.1%, 55.3%)
CIE-LABlab(44.01, -25.36, 30.99)
CIE-LCHlch(44.01, 40.04, 129.30°)
OKLaboklab(50.86% -0.0703 0.0735)
OKLCHoklch(50.86% 0.102 133.7)
XYZxyz(9.6534, 13.8424, 5.1802)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7232 #573272
analogous
#6D7232 #4D7232 #327237
triadic
#4D7232 #324D72 #72324D
tetradic
#4D7232 #326D72 #573272 #723732
square
#4D7232 #326D72 #573272 #723732
split-complementary
#4D7232 #373272 #72326D
monochromatic
#141D0D #30471F #4D7232 #6A9D45 #88BB64

Accessibility & contrast

On white

5.57
#4D7232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4D7232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7232
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7232#FFFFFF#000000##FFFFFF
##4D72321.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2C
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#4D6E64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d7232;
/* rgb */ color: rgb(77, 114, 50);
/* oklch */ color: oklch(50.9% 0.102 133.7);
Tailwind
colors: {
  custom: {
    50: '#819b6c',
    500: '#4d7232',
    950: '#000000',
  },
}
SCSS
$custom: #4d7232;
$custom-light: #819b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7232",
  "rgb": {
    "r": 77,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 94.688,
    "s": 39.024,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50861,
    "c": 0.10171,
    "h": 133.7
  },
  "luminance": 0.13843
}

Semantic roles & 50–950 ramp

primary
#4D7232
secondary
#855DA3
accent
#59CF9D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4D7232

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

Preview Lab → · Contrast checker → · Palette generator →

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