#4E501B#4E501B

#4E501B is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.074 H 111.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4E501B
RGBrgb(78, 80, 27)
HSLhsl(62, 50%, 21%)
HSVhsv(62, 66%, 31%)
CMYKcmyk(2.5%, 0%, 66.3%, 68.6%)
CIE-LABlab(32.78, -8.89, 30.09)
CIE-LCHlch(32.78, 31.38, 106.47°)
OKLaboklab(41.75% -0.0268 0.0689)
OKLCHoklch(41.75% 0.074 111.2)
XYZxyz(6.2085, 7.4363, 2.1450)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E501B #1D1B50
analogous
#50371B #4E501B #33501B
triadic
#4E501B #1B4E50 #501B4E
tetradic
#4E501B #1B5037 #1D1B50 #501B33
square
#4E501B #1B5037 #1D1B50 #501B33
split-complementary
#4E501B #1B3350 #371B50
monochromatic
#161708 #21220C #4E501B #7B7E2A #A7AC3A

Accessibility & contrast

On white

8.44
#4E501B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E501B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E501B
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E501B#FFFFFF#000000##FFFFFF
##4E501B1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C15
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#534B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e501b;
/* rgb */ color: rgb(78, 80, 27);
/* oklch */ color: oklch(41.7% 0.074 111.2);
Tailwind
colors: {
  custom: {
    50: '#81805a',
    500: '#4e501b',
    950: '#000000',
  },
}
SCSS
$custom: #4e501b;
$custom-light: #81805a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e501b",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 62.264,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41745,
    "c": 0.07389,
    "h": 111.2
  },
  "luminance": 0.07436
}

Semantic roles & 50–950 ramp

primary
#4E501B
secondary
#444186
accent
#4FD954
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E501B

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

Preview Lab → · Contrast checker → · Palette generator →

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