#4E4818#4E4818

#4E4818 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.7% C 0.067 H 102.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#4E4818
RGBrgb(78, 72, 24)
HSLhsl(53, 53%, 20%)
HSVhsv(53, 69%, 31%)
CMYKcmyk(0%, 7.7%, 69.2%, 69.4%)
CIE-LABlab(30.21, -4.33, 28.84)
CIE-LCHlch(30.21, 29.16, 98.54°)
OKLaboklab(39.68% -0.0142 0.0657)
OKLCHoklch(39.68% 0.067 102.2)
XYZxyz(5.6243, 6.3206, 1.7877)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4818 #181E4E
analogous
#4E2D18 #4E4818 #394E18
triadic
#4E4818 #184E48 #48184E
tetradic
#4E4818 #184E2D #181E4E #4E1839
square
#4E4818 #184E2D #181E4E #4E1839
split-complementary
#4E4818 #18394E #2D184E
monochromatic
#171607 #1F1D0A #4E4818 #7D7326 #AC9E35

Accessibility & contrast

On white

9.28
#4E4818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4E4818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4818
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4818#FFFFFF#000000##FFFFFF
##4E48181.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4612
Deuteranopia (green-blind)
#51481B
Tritanopia (blue-blind)
#54433E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4818;
/* rgb */ color: rgb(78, 72, 24);
/* oklch */ color: oklch(39.7% 0.067 102.2);
Tailwind
colors: {
  custom: {
    50: '#827a57',
    500: '#4e4818',
    950: '#000000',
  },
}
SCSS
$custom: #4e4818;
$custom-light: #827a57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4818",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 24
  },
  "hsl": {
    "h": 53.333,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.39685,
    "c": 0.06724,
    "h": 102.2
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#4E4818
secondary
#3D4585
accent
#5CDC4B
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4E4818

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

Preview Lab → · Contrast checker → · Palette generator →

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