#4E522F#4E522F

#4E522F is a dark, muted yellow. Relative luminance 0.079; OKLCH L 42.6% C 0.053 H 114.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4E522F
RGBrgb(78, 82, 47)
HSLhsl(67, 27%, 25%)
HSVhsv(67, 43%, 32%)
CMYKcmyk(4.9%, 0%, 42.7%, 67.8%)
CIE-LABlab(33.69, -7.92, 20.00)
CIE-LCHlch(33.69, 21.51, 111.59°)
OKLaboklab(42.56% -0.0218 0.0488)
OKLCHoklch(42.56% 0.053 114)
XYZxyz(6.6723, 7.8596, 3.8543)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E522F #332F52
analogous
#52442F #4E522F #3C522F
triadic
#4E522F #2F4E52 #522F4E
tetradic
#4E522F #2F5244 #332F52 #522F3C
square
#4E522F #2F5244 #332F52 #522F3C
split-complementary
#4E522F #2F3C52 #442F52
monochromatic
#13130B #292B19 #4E522F #737945 #98A05C

Accessibility & contrast

On white

8.16
#4E522F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E522F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E522F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E522F#FFFFFF#000000##FFFFFF
##4E522F1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2C
Deuteranopia (green-blind)
#565031
Tritanopia (blue-blind)
#524E49
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e522f;
/* rgb */ color: rgb(78, 82, 47);
/* oklch */ color: oklch(42.6% 0.053 114.0);
Tailwind
colors: {
  custom: {
    50: '#808268',
    500: '#4e522f',
    950: '#000000',
  },
}
SCSS
$custom: #4e522f;
$custom-light: #808268;
$custom-dark: #000000;
JSON
{
  "hex": "#4e522f",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 47
  },
  "hsl": {
    "h": 66.857,
    "s": 27.132,
    "l": 25.294
  },
  "oklch": {
    "l": 0.42557,
    "c": 0.05347,
    "h": 114
  },
  "luminance": 0.0786
}

Semantic roles & 50–950 ramp

primary
#4E522F
secondary
#5E5983
accent
#64C36F
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #4E522F

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

Preview Lab → · Contrast checker → · Palette generator →

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