#4E571B#4E571B

#4E571B is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.5% C 0.083 H 117.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4E571B
RGBrgb(78, 87, 27)
HSLhsl(69, 53%, 22%)
HSVhsv(69, 69%, 34%)
CMYKcmyk(10.3%, 0%, 69%, 65.9%)
CIE-LABlab(35.03, -12.94, 32.50)
CIE-LCHlch(35.03, 34.98, 111.70°)
OKLaboklab(43.55% -0.0381 0.074)
OKLCHoklch(43.55% 0.083 117.3)
XYZxyz(6.7480, 8.5153, 2.3248)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E571B #241B57
analogous
#57421B #4E571B #30571B
triadic
#4E571B #1B4E57 #571B4E
tetradic
#4E571B #1B5742 #241B57 #571B30
square
#4E571B #1B5742 #241B57 #571B30
split-complementary
#4E571B #1B3057 #421B57
monochromatic
#151707 #24280D #4E571B #788629 #A2B438

Accessibility & contrast

On white

7.77
#4E571B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4E571B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E571B
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E571B#FFFFFF#000000##FFFFFF
##4E571B1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5213
Deuteranopia (green-blind)
#5C531F
Tritanopia (blue-blind)
#53524B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e571b;
/* rgb */ color: rgb(78, 87, 27);
/* oklch */ color: oklch(43.5% 0.083 117.3);
Tailwind
colors: {
  custom: {
    50: '#81865b',
    500: '#4e571b',
    950: '#000000',
  },
}
SCSS
$custom: #4e571b;
$custom-light: #81865b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e571b",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 69,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4355,
    "c": 0.08322,
    "h": 117.3
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#4E571B
secondary
#4C418D
accent
#4CDC61
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4E571B

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

Preview Lab → · Contrast checker → · Palette generator →

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