#4C571B#4C571B

#4C571B is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.4% C 0.084 H 118.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4C571B
RGBrgb(76, 87, 27)
HSLhsl(71, 53%, 22%)
HSVhsv(71, 69%, 34%)
CMYKcmyk(12.6%, 0%, 69%, 65.9%)
CIE-LABlab(34.87, -13.88, 32.28)
CIE-LCHlch(34.87, 35.14, 113.27°)
OKLaboklab(43.37% -0.0406 0.0736)
OKLCHoklch(43.37% 0.084 118.9)
XYZxyz(6.5866, 8.4321, 2.3173)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C571B #261B57
analogous
#57441B #4C571B #2E571B
triadic
#4C571B #1B4C57 #571B4C
tetradic
#4C571B #1B5744 #261B57 #571B2E
square
#4C571B #1B5744 #261B57 #571B2E
split-complementary
#4C571B #1B2E57 #441B57
monochromatic
#141707 #23280D #4C571B #758629 #9EB438

Accessibility & contrast

On white

7.82
#4C571B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C571B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C571B#FFFFFF#000000##FFFFFF
##4C571B1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c571b;
/* rgb */ color: rgb(76, 87, 27);
/* oklch */ color: oklch(43.4% 0.084 118.9);
Tailwind
colors: {
  custom: {
    50: '#80865b',
    500: '#4c571b',
    950: '#000000',
  },
}
SCSS
$custom: #4c571b;
$custom-light: #80865b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c571b",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 71,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43374,
    "c": 0.08402,
    "h": 118.9
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#4C571B
secondary
#4F418D
accent
#4CDC66
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4C571B

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

Preview Lab → · Contrast checker → · Palette generator →

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