#4E4A1B#4E4A1B

#4E4A1B is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.2% C 0.067 H 104.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#4E4A1B
RGBrgb(78, 74, 27)
HSLhsl(55, 49%, 21%)
HSVhsv(55, 65%, 31%)
CMYKcmyk(0%, 5.1%, 65.4%, 69.4%)
CIE-LABlab(30.87, -5.31, 28.00)
CIE-LCHlch(30.87, 28.50, 100.73°)
OKLaboklab(40.22% -0.0166 0.0644)
OKLCHoklch(40.22% 0.067 104.4)
XYZxyz(5.7887, 6.5966, 2.0050)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A1B #1B1F4E
analogous
#4E301B #4E4A1B #384E1B
triadic
#4E4A1B #1B4E4A #4A1B4E
tetradic
#4E4A1B #1B4E30 #1B1F4E #4E1B38
square
#4E4A1B #1B4E30 #1B1F4E #4E1B38
split-complementary
#4E4A1B #1B384E #301B4E
monochromatic
#171608 #211F0B #4E4A1B #7B752B #A9A03A

Accessibility & contrast

On white

9.05
#4E4A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4E4A1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A1B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A1B#FFFFFF#000000##FFFFFF
##4E4A1B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514716
Deuteranopia (green-blind)
#524A1E
Tritanopia (blue-blind)
#544540
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4a1b;
/* rgb */ color: rgb(78, 74, 27);
/* oklch */ color: oklch(40.2% 0.067 104.4);
Tailwind
colors: {
  custom: {
    50: '#817c59',
    500: '#4e4a1b',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a1b;
$custom-light: #817c59;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a1b",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 27
  },
  "hsl": {
    "h": 55.294,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40223,
    "c": 0.06653,
    "h": 104.4
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#4E4A1B
secondary
#414684
accent
#5AD850
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4E4A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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