#4E4828#4E4828

#4E4828 is a dark, muted yellow. Relative luminance 0.064; OKLCH L 39.9% C 0.049 H 98.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4E4828
RGBrgb(78, 72, 40)
HSLhsl(51, 32%, 23%)
HSVhsv(51, 49%, 31%)
CMYKcmyk(0%, 7.7%, 48.7%, 69.4%)
CIE-LABlab(30.42, -2.75, 20.06)
CIE-LCHlch(30.42, 20.25, 97.82°)
OKLaboklab(39.92% -0.0076 0.0485)
OKLCHoklch(39.92% 0.049 98.9)
XYZxyz(5.8424, 6.4078, 2.9362)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4828 #282E4E
analogous
#4E3528 #4E4828 #414E28
triadic
#4E4828 #284E48 #48284E
tetradic
#4E4828 #284E35 #282E4E #4E2841
square
#4E4828 #284E35 #282E4E #4E2841
split-complementary
#4E4828 #28414E #35284E
monochromatic
#14130A #262313 #4E4828 #766D3D #9F9351

Accessibility & contrast

On white

9.20
#4E4828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4E4828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4828
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4828#FFFFFF#000000##FFFFFF
##4E48281.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4625
Deuteranopia (green-blind)
#4F4929
Tritanopia (blue-blind)
#534440
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4828;
/* rgb */ color: rgb(78, 72, 40);
/* oklch */ color: oklch(39.9% 0.049 98.9);
Tailwind
colors: {
  custom: {
    50: '#807a62',
    500: '#4e4828',
    950: '#000000',
  },
}
SCSS
$custom: #4e4828;
$custom-light: #807a62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4828",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 40
  },
  "hsl": {
    "h": 50.526,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.39922,
    "c": 0.04912,
    "h": 98.9
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#4E4828
secondary
#515981
accent
#70C85F
background
#F7F7F5
surface
#EEEDEA
border
#C9C8C6
text
#0A0905
muted
#7C7B79

Preview Lab

Preview with #4E4828

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

Preview Lab → · Contrast checker → · Palette generator →

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