#4D571F#4D571F

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

Color values

HEX#4D571F
RGBrgb(77, 87, 31)
HSLhsl(71, 47%, 23%)
HSVhsv(71, 64%, 34%)
CMYKcmyk(11.5%, 0%, 64.4%, 65.9%)
CIE-LABlab(34.99, -13.07, 30.46)
CIE-LCHlch(34.99, 33.14, 113.23°)
OKLaboklab(43.51% -0.038 0.0703)
OKLCHoklch(43.51% 0.08 118.4)
XYZxyz(6.7162, 8.4932, 2.5816)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D571F #291F57
analogous
#57451F #4D571F #31571F
triadic
#4D571F #1F4D57 #571F4D
tetradic
#4D571F #1F5745 #291F57 #571F31
square
#4D571F #1F5745 #291F57 #571F31
split-complementary
#4D571F #1F3157 #451F57
monochromatic
#141708 #252A0F #4D571F #75842F #9DB13F

Accessibility & contrast

On white

7.78
#4D571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4D571F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D571F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D571F#FFFFFF#000000##FFFFFF
##4D571F1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d571f;
/* rgb */ color: rgb(77, 87, 31);
/* oklch */ color: oklch(43.5% 0.080 118.4);
Tailwind
colors: {
  custom: {
    50: '#80865d',
    500: '#4d571f',
    950: '#000000',
  },
}
SCSS
$custom: #4d571f;
$custom-light: #80865d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d571f",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 70.714,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43506,
    "c": 0.07987,
    "h": 118.4
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#4D571F
secondary
#52468C
accent
#51D769
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4D571F

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

Preview Lab → · Contrast checker → · Palette generator →

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