#4E501F#4E501F

#4E501F is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.070 H 111.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4E501F
RGBrgb(78, 80, 31)
HSLhsl(62, 44%, 22%)
HSVhsv(62, 61%, 31%)
CMYKcmyk(2.5%, 0%, 61.2%, 68.6%)
CIE-LABlab(32.82, -8.55, 28.06)
CIE-LCHlch(32.82, 29.33, 106.94°)
OKLaboklab(41.79% -0.0253 0.0651)
OKLCHoklch(41.79% 0.07 111.2)
XYZxyz(6.2580, 7.4561, 2.4056)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E501F #211F50
analogous
#503A1F #4E501F #36501F
triadic
#4E501F #1F4E50 #501F4E
tetradic
#4E501F #1F503A #211F50 #501F36
square
#4E501F #1F503A #211F50 #501F36
split-complementary
#4E501F #1F3650 #3A1F50
monochromatic
#161609 #23240E #4E501F #797C30 #A4A841

Accessibility & contrast

On white

8.43
#4E501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E501F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E501F#FFFFFF#000000##FFFFFF
##4E501F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C1A
Deuteranopia (green-blind)
#564E22
Tritanopia (blue-blind)
#534B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e501f;
/* rgb */ color: rgb(78, 80, 31);
/* oklch */ color: oklch(41.8% 0.070 111.2);
Tailwind
colors: {
  custom: {
    50: '#81815d',
    500: '#4e501f',
    950: '#000000',
  },
}
SCSS
$custom: #4e501f;
$custom-light: #81815d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e501f",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 62.449,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41793,
    "c": 0.06986,
    "h": 111.2
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#4E501F
secondary
#494685
accent
#54D459
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E501F

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

Preview Lab → · Contrast checker → · Palette generator →

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