#4B571B#4B571B

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

Color values

HEX#4B571B
RGBrgb(75, 87, 27)
HSLhsl(72, 53%, 22%)
HSVhsv(72, 69%, 34%)
CMYKcmyk(13.8%, 0%, 69%, 65.9%)
CIE-LABlab(34.79, -14.35, 32.17)
CIE-LCHlch(34.79, 35.22, 114.04°)
OKLaboklab(43.29% -0.0418 0.0733)
OKLCHoklch(43.29% 0.084 119.7)
XYZxyz(6.5078, 8.3914, 2.3136)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B571B #271B57
analogous
#57451B #4B571B #2D571B
triadic
#4B571B #1B4B57 #571B4B
tetradic
#4B571B #1B5745 #271B57 #571B2D
square
#4B571B #1B5745 #271B57 #571B2D
split-complementary
#4B571B #1B2D57 #451B57
monochromatic
#141707 #23280D #4B571B #738629 #9CB438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B571B#FFFFFF#000000##FFFFFF
##4B571B1.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)
#5D5213
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#4F524B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4b571b;
/* rgb */ color: rgb(75, 87, 27);
/* oklch */ color: oklch(43.3% 0.084 119.7);
Tailwind
colors: {
  custom: {
    50: '#7f865b',
    500: '#4b571b',
    950: '#000000',
  },
}
SCSS
$custom: #4b571b;
$custom-light: #7f865b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b571b",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 72,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43287,
    "c": 0.08444,
    "h": 119.7
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#4B571B
secondary
#50418D
accent
#4CDC69
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4B571B

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

Preview Lab → · Contrast checker → · Palette generator →

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