#4D571C#4D571C

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

Color values

HEX#4D571C
RGBrgb(77, 87, 28)
HSLhsl(70, 51%, 23%)
HSVhsv(70, 68%, 34%)
CMYKcmyk(11.5%, 0%, 67.8%, 65.9%)
CIE-LABlab(34.96, -13.33, 31.92)
CIE-LCHlch(34.96, 34.59, 112.66°)
OKLaboklab(43.47% -0.039 0.0729)
OKLCHoklch(43.47% 0.083 118.2)
XYZxyz(6.6785, 8.4781, 2.3830)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D571C #261C57
analogous
#57431C #4D571C #30571C
triadic
#4D571C #1C4D57 #571C4D
tetradic
#4D571C #1C5743 #261C57 #571C30
square
#4D571C #1C5743 #261C57 #571C30
split-complementary
#4D571C #1C3057 #431C57
monochromatic
#141707 #24290D #4D571C #76852B #9FB43A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D571C#FFFFFF#000000##FFFFFF
##4D571C1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d571c;
/* rgb */ color: rgb(77, 87, 28);
/* oklch */ color: oklch(43.5% 0.083 118.2);
Tailwind
colors: {
  custom: {
    50: '#81865b',
    500: '#4d571c',
    950: '#000000',
  },
}
SCSS
$custom: #4d571c;
$custom-light: #81865b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d571c",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 70.169,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43472,
    "c": 0.0827,
    "h": 118.2
  },
  "luminance": 0.08478
}

Semantic roles & 50–950 ramp

primary
#4D571C
secondary
#4F428D
accent
#4DDB65
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4D571C

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

Preview Lab → · Contrast checker → · Palette generator →

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