#4B571A#4B571A

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

Color values

HEX#4B571A
RGBrgb(75, 87, 26)
HSLhsl(72, 54%, 22%)
HSVhsv(72, 70%, 34%)
CMYKcmyk(13.8%, 0%, 70.1%, 65.9%)
CIE-LABlab(34.78, -14.43, 32.63)
CIE-LCHlch(34.78, 35.68, 113.86°)
OKLaboklab(43.28% -0.0422 0.0742)
OKLCHoklch(43.28% 0.085 119.6)
XYZxyz(6.4964, 8.3869, 2.2537)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B571A #261A57
analogous
#57451A #4B571A #2D571A
triadic
#4B571A #1A4B57 #571A4B
tetradic
#4B571A #1A5745 #261A57 #571A2D
square
#4B571A #1A5745 #261A57 #571A2D
split-complementary
#4B571A #1A2D57 #451A57
monochromatic
#141807 #22280C #4B571A #748628 #9CB536

Accessibility & contrast

On white

7.84
#4B571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4B571A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B571A
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B571A#FFFFFF#000000##FFFFFF
##4B571A1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b571a;
/* rgb */ color: rgb(75, 87, 26);
/* oklch */ color: oklch(43.3% 0.085 119.6);
Tailwind
colors: {
  custom: {
    50: '#7f865a',
    500: '#4b571a',
    950: '#000000',
  },
}
SCSS
$custom: #4b571a;
$custom-light: #7f865a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b571a",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 71.803,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43277,
    "c": 0.08532,
    "h": 119.6
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#4B571A
secondary
#4F408D
accent
#4ADD67
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4B571A

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

Preview Lab → · Contrast checker → · Palette generator →

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