#4E4718#4E4718

#4E4718 is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.4% C 0.066 H 100.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#4E4718
RGBrgb(78, 71, 24)
HSLhsl(52, 53%, 20%)
HSVhsv(52, 69%, 31%)
CMYKcmyk(0%, 9%, 69.2%, 69.4%)
CIE-LABlab(29.89, -3.72, 28.50)
CIE-LCHlch(29.89, 28.74, 97.43°)
OKLaboklab(39.44% -0.0124 0.065)
OKLCHoklch(39.44% 0.066 100.8)
XYZxyz(5.5602, 6.1924, 1.7663)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4718 #181F4E
analogous
#4E2C18 #4E4718 #3A4E18
triadic
#4E4718 #184E47 #47184E
tetradic
#4E4718 #184E2C #181F4E #4E183A
square
#4E4718 #184E2C #181F4E #4E183A
split-complementary
#4E4718 #183A4E #2C184E
monochromatic
#171507 #1F1C0A #4E4718 #7D7226 #AC9C35

Accessibility & contrast

On white

9.38
#4E4718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E4718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4718
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4718#FFFFFF#000000##FFFFFF
##4E47181.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4513
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#54423D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e4718;
/* rgb */ color: rgb(78, 71, 24);
/* oklch */ color: oklch(39.4% 0.066 100.8);
Tailwind
colors: {
  custom: {
    50: '#827a57',
    500: '#4e4718',
    950: '#000000',
  },
}
SCSS
$custom: #4e4718;
$custom-light: #827a57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4718",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 24
  },
  "hsl": {
    "h": 52.222,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.39436,
    "c": 0.06618,
    "h": 100.8
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#4E4718
secondary
#3D4685
accent
#5EDC4B
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4718

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

Preview Lab → · Contrast checker → · Palette generator →

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