#4C571A#4C571A

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

Color values

HEX#4C571A
RGBrgb(76, 87, 26)
HSLhsl(71, 54%, 22%)
HSVhsv(71, 70%, 34%)
CMYKcmyk(12.6%, 0%, 70.1%, 65.9%)
CIE-LABlab(34.86, -13.96, 32.74)
CIE-LCHlch(34.86, 35.59, 113.09°)
OKLaboklab(43.36% -0.0409 0.0744)
OKLCHoklch(43.36% 0.085 118.8)
XYZxyz(6.5753, 8.4275, 2.2574)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C571A #251A57
analogous
#57441A #4C571A #2E571A
triadic
#4C571A #1A4C57 #571A4C
tetradic
#4C571A #1A5744 #251A57 #571A2E
square
#4C571A #1A5744 #251A57 #571A2E
split-complementary
#4C571A #1A2E57 #441A57
monochromatic
#151807 #23280C #4C571A #758628 #9EB536

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C571A#FFFFFF#000000##FFFFFF
##4C571A1.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)
#5D5212
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#51524A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c571a;
/* rgb */ color: rgb(76, 87, 26);
/* oklch */ color: oklch(43.4% 0.085 118.8);
Tailwind
colors: {
  custom: {
    50: '#80865a',
    500: '#4c571a',
    950: '#000000',
  },
}
SCSS
$custom: #4c571a;
$custom-light: #80865a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c571a",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 70.82,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43363,
    "c": 0.08489,
    "h": 118.8
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

primary
#4C571A
secondary
#4E408D
accent
#4ADD65
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4C571A

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

Preview Lab → · Contrast checker → · Palette generator →

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