#4E521E#4E521E

#4E521E is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.074 H 113.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4E521E
RGBrgb(78, 82, 30)
HSLhsl(65, 46%, 22%)
HSVhsv(65, 63%, 32%)
CMYKcmyk(4.9%, 0%, 63.4%, 67.8%)
CIE-LABlab(33.45, -9.81, 29.29)
CIE-LCHlch(33.45, 30.89, 108.52°)
OKLaboklab(42.29% -0.029 0.0676)
OKLCHoklch(42.29% 0.074 113.2)
XYZxyz(6.3937, 7.7481, 2.3868)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E521E #221E52
analogous
#523C1E #4E521E #34521E
triadic
#4E521E #1E4E52 #521E4E
tetradic
#4E521E #1E523C #221E52 #521E34
square
#4E521E #1E523C #221E52 #521E34
split-complementary
#4E521E #1E3452 #3C1E52
monochromatic
#151608 #23250E #4E521E #797F2E #A3AC3F

Accessibility & contrast

On white

8.24
#4E521E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E521E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E521E
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E521E#FFFFFF#000000##FFFFFF
##4E521E1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E18
Deuteranopia (green-blind)
#584F21
Tritanopia (blue-blind)
#534D47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e521e;
/* rgb */ color: rgb(78, 82, 30);
/* oklch */ color: oklch(42.3% 0.074 113.2);
Tailwind
colors: {
  custom: {
    50: '#81825c',
    500: '#4e521e',
    950: '#000000',
  },
}
SCSS
$custom: #4e521e;
$custom-light: #81825c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e521e",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 30
  },
  "hsl": {
    "h": 64.615,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42293,
    "c": 0.07357,
    "h": 113.2
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#4E521E
secondary
#4A4587
accent
#52D65C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E521E

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

Preview Lab → · Contrast checker → · Palette generator →

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