#4A4828#4A4828

#4A4828 is a dark, muted yellow. Relative luminance 0.062; OKLCH L 39.5% C 0.049 H 105.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#4A4828
RGBrgb(74, 72, 40)
HSLhsl(56, 30%, 22%)
HSVhsv(56, 46%, 29%)
CMYKcmyk(0%, 2.7%, 45.9%, 71%)
CIE-LABlab(30.02, -4.68, 19.47)
CIE-LCHlch(30.02, 20.03, 103.51°)
OKLaboklab(39.51% -0.0129 0.0473)
OKLCHoklch(39.51% 0.049 105.3)
XYZxyz(5.5245, 6.2439, 2.9212)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4828 #282A4A
analogous
#4A3728 #4A4828 #3B4A28
triadic
#4A4828 #284A48 #48284A
tetradic
#4A4828 #284A37 #282A4A #4A283B
square
#4A4828 #284A37 #282A4A #4A283B
split-complementary
#4A4828 #283B4A #37284A
monochromatic
#14130B #222113 #4A4828 #726F3D #999553

Accessibility & contrast

On white

9.34
#4A4828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4A4828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4828
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4828#FFFFFF#000000##FFFFFF
##4A48281.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4626
Deuteranopia (green-blind)
#4E4729
Tritanopia (blue-blind)
#4F4440
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a4828;
/* rgb */ color: rgb(74, 72, 40);
/* oklch */ color: oklch(39.5% 0.049 105.3);
Tailwind
colors: {
  custom: {
    50: '#7d7a62',
    500: '#4a4828',
    950: '#000000',
  },
}
SCSS
$custom: #4a4828;
$custom-light: #7d7a62;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4828",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 40
  },
  "hsl": {
    "h": 56.471,
    "s": 29.825,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39509,
    "c": 0.04899,
    "h": 105.3
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#4A4828
secondary
#51547C
accent
#68C662
background
#F7F7F5
surface
#EEEDEA
border
#C9C8C6
text
#0A0905
muted
#7C7B79

Preview Lab

Preview with #4A4828

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

Preview Lab → · Contrast checker → · Palette generator →

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