#4B571F#4B571F

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

Color values

HEX#4B571F
RGBrgb(75, 87, 31)
HSLhsl(73, 47%, 23%)
HSVhsv(73, 64%, 34%)
CMYKcmyk(13.8%, 0%, 64.4%, 65.9%)
CIE-LABlab(34.83, -14.00, 30.23)
CIE-LCHlch(34.83, 33.31, 114.86°)
OKLaboklab(43.33% -0.0404 0.0698)
OKLCHoklch(43.33% 0.081 120.1)
XYZxyz(6.5573, 8.4112, 2.5741)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B571F #2B1F57
analogous
#57471F #4B571F #2F571F
triadic
#4B571F #1F4B57 #571F4B
tetradic
#4B571F #1F5747 #2B1F57 #571F2F
square
#4B571F #1F5747 #2B1F57 #571F2F
split-complementary
#4B571F #1F2F57 #471F57
monochromatic
#131708 #242A0F #4B571F #72842F #99B13F

Accessibility & contrast

On white

7.83
#4B571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B571F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B571F#FFFFFF#000000##FFFFFF
##4B571F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5219
Deuteranopia (green-blind)
#5B5223
Tritanopia (blue-blind)
#4F524B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4b571f;
/* rgb */ color: rgb(75, 87, 31);
/* oklch */ color: oklch(43.3% 0.081 120.1);
Tailwind
colors: {
  custom: {
    50: '#7f865d',
    500: '#4b571f',
    950: '#000000',
  },
}
SCSS
$custom: #4b571f;
$custom-light: #7f865d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b571f",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 72.857,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43332,
    "c": 0.08069,
    "h": 120.1
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#4B571F
secondary
#55468C
accent
#51D76E
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4B571F

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

Preview Lab → · Contrast checker → · Palette generator →

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