#4E501E#4E501E

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

Color values

HEX#4E501E
RGBrgb(78, 80, 30)
HSLhsl(62, 45%, 22%)
HSVhsv(62, 63%, 31%)
CMYKcmyk(2.5%, 0%, 62.5%, 68.6%)
CIE-LABlab(32.81, -8.64, 28.58)
CIE-LCHlch(32.81, 29.85, 106.82°)
OKLaboklab(41.78% -0.0257 0.0661)
OKLCHoklch(41.78% 0.071 111.2)
XYZxyz(6.2450, 7.4509, 2.3372)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E501E #201E50
analogous
#50391E #4E501E #35501E
triadic
#4E501E #1E4E50 #501E4E
tetradic
#4E501E #1E5039 #201E50 #501E35
square
#4E501E #1E5039 #201E50 #501E35
split-complementary
#4E501E #1E3550 #391E50
monochromatic
#161608 #23230D #4E501E #797D2F #A5A93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E501E#FFFFFF#000000##FFFFFF
##4E501E1.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)
#564C19
Deuteranopia (green-blind)
#564E21
Tritanopia (blue-blind)
#534B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e501e;
/* rgb */ color: rgb(78, 80, 30);
/* oklch */ color: oklch(41.8% 0.071 111.2);
Tailwind
colors: {
  custom: {
    50: '#81815c',
    500: '#4e501e',
    950: '#000000',
  },
}
SCSS
$custom: #4e501e;
$custom-light: #81815c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e501e",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 62.4,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41781,
    "c": 0.07091,
    "h": 111.2
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#4E501E
secondary
#474585
accent
#53D558
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E501E

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

Preview Lab → · Contrast checker → · Palette generator →

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