#4A571A#4A571A

#4A571A is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 43.2% C 0.086 H 120.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4A571A
RGBrgb(74, 87, 26)
HSLhsl(73, 54%, 22%)
HSVhsv(73, 70%, 34%)
CMYKcmyk(14.9%, 0%, 70.1%, 65.9%)
CIE-LABlab(34.69, -14.90, 32.52)
CIE-LCHlch(34.69, 35.77, 114.61°)
OKLaboklab(43.19% -0.0434 0.074)
OKLCHoklch(43.19% 0.086 120.4)
XYZxyz(6.4188, 8.3468, 2.2500)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A571A #271A57
analogous
#57461A #4A571A #2C571A
triadic
#4A571A #1A4A57 #571A4A
tetradic
#4A571A #1A5746 #271A57 #571A2C
square
#4A571A #1A5746 #271A57 #571A2C
split-complementary
#4A571A #1A2C57 #461A57
monochromatic
#141807 #22280C #4A571A #728628 #9AB536

Accessibility & contrast

On white

7.87
#4A571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4A571A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A571A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A571A#FFFFFF#000000##FFFFFF
##4A571A1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5212
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#4E524A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a571a;
/* rgb */ color: rgb(74, 87, 26);
/* oklch */ color: oklch(43.2% 0.086 120.4);
Tailwind
colors: {
  custom: {
    50: '#7e865a',
    500: '#4a571a',
    950: '#000000',
  },
}
SCSS
$custom: #4a571a;
$custom-light: #7e865a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a571a",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 72.787,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43191,
    "c": 0.08575,
    "h": 120.4
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#4A571A
secondary
#50408D
accent
#4ADD6A
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4A571A

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

Preview Lab → · Contrast checker → · Palette generator →

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