#4E501C#4E501C

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

Color values

HEX#4E501C
RGBrgb(78, 80, 28)
HSLhsl(62, 48%, 21%)
HSVhsv(62, 65%, 31%)
CMYKcmyk(2.5%, 0%, 65%, 68.6%)
CIE-LABlab(32.79, -8.81, 29.59)
CIE-LCHlch(32.79, 30.87, 106.58°)
OKLaboklab(41.76% -0.0264 0.068)
OKLCHoklch(41.76% 0.073 111.2)
XYZxyz(6.2203, 7.4410, 2.2070)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E501C #1E1C50
analogous
#50381C #4E501C #34501C
triadic
#4E501C #1C4E50 #501C4E
tetradic
#4E501C #1C5038 #1E1C50 #501C34
square
#4E501C #1C5038 #1E1C50 #501C34
split-complementary
#4E501C #1C3450 #381C50
monochromatic
#161708 #22230C #4E501C #7A7D2C #A6AB3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E501C#FFFFFF#000000##FFFFFF
##4E501C1.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)
#564C16
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#534B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e501c;
/* rgb */ color: rgb(78, 80, 28);
/* oklch */ color: oklch(41.8% 0.073 111.2);
Tailwind
colors: {
  custom: {
    50: '#81805b',
    500: '#4e501c',
    950: '#000000',
  },
}
SCSS
$custom: #4e501c;
$custom-light: #81805b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e501c",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 28
  },
  "hsl": {
    "h": 62.308,
    "s": 48.148,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41756,
    "c": 0.07292,
    "h": 111.2
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#4E501C
secondary
#454286
accent
#50D855
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E501C

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

Preview Lab → · Contrast checker → · Palette generator →

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