#4E571C#4E571C

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

Color values

HEX#4E571C
RGBrgb(78, 87, 28)
HSLhsl(69, 51%, 23%)
HSVhsv(69, 68%, 34%)
CMYKcmyk(10.3%, 0%, 67.8%, 65.9%)
CIE-LABlab(35.04, -12.86, 32.03)
CIE-LCHlch(35.04, 34.52, 111.87°)
OKLaboklab(43.56% -0.0378 0.0731)
OKLCHoklch(43.56% 0.082 117.3)
XYZxyz(6.7598, 8.5200, 2.3868)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E571C #251C57
analogous
#57431C #4E571C #30571C
triadic
#4E571C #1C4E57 #571C4E
tetradic
#4E571C #1C5743 #251C57 #571C30
square
#4E571C #1C5743 #251C57 #571C30
split-complementary
#4E571C #1C3057 #431C57
monochromatic
#151707 #24290D #4E571C #78852B #A1B43A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E571C#FFFFFF#000000##FFFFFF
##4E571C1.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)
#5D5215
Deuteranopia (green-blind)
#5C5320
Tritanopia (blue-blind)
#53524B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e571c;
/* rgb */ color: rgb(78, 87, 28);
/* oklch */ color: oklch(43.6% 0.082 117.3);
Tailwind
colors: {
  custom: {
    50: '#81865b',
    500: '#4e571c',
    950: '#000000',
  },
}
SCSS
$custom: #4e571c;
$custom-light: #81865b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e571c",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 69.153,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4356,
    "c": 0.08232,
    "h": 117.3
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#4E571C
secondary
#4E428D
accent
#4DDB63
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4E571C

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

Preview Lab → · Contrast checker → · Palette generator →

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