#4D571B#4D571B

#4D571B is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.5% C 0.084 H 118.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4D571B
RGBrgb(77, 87, 27)
HSLhsl(70, 53%, 22%)
HSVhsv(70, 69%, 34%)
CMYKcmyk(11.5%, 0%, 69%, 65.9%)
CIE-LABlab(34.95, -13.41, 32.39)
CIE-LCHlch(34.95, 35.06, 112.49°)
OKLaboklab(43.46% -0.0394 0.0738)
OKLCHoklch(43.46% 0.084 118.1)
XYZxyz(6.6667, 8.4734, 2.3210)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D571B #251B57
analogous
#57431B #4D571B #2F571B
triadic
#4D571B #1B4D57 #571B4D
tetradic
#4D571B #1B5743 #251B57 #571B2F
square
#4D571B #1B5743 #251B57 #571B2F
split-complementary
#4D571B #1B2F57 #431B57
monochromatic
#151707 #24280D #4D571B #768629 #A0B438

Accessibility & contrast

On white

7.79
#4D571B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4D571B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D571B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D571B#FFFFFF#000000##FFFFFF
##4D571B1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5213
Deuteranopia (green-blind)
#5C521F
Tritanopia (blue-blind)
#52524B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d571b;
/* rgb */ color: rgb(77, 87, 27);
/* oklch */ color: oklch(43.5% 0.084 118.1);
Tailwind
colors: {
  custom: {
    50: '#81865b',
    500: '#4d571b',
    950: '#000000',
  },
}
SCSS
$custom: #4d571b;
$custom-light: #81865b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d571b",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 70,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43461,
    "c": 0.0836,
    "h": 118.1
  },
  "luminance": 0.08473
}

Semantic roles & 50–950 ramp

primary
#4D571B
secondary
#4E418D
accent
#4CDC64
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4D571B

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

Preview Lab → · Contrast checker → · Palette generator →

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