#4A501D#4A501D

#4A501D is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.4% C 0.073 H 115.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4A501D
RGBrgb(74, 80, 29)
HSLhsl(67, 47%, 21%)
HSVhsv(67, 64%, 31%)
CMYKcmyk(7.5%, 0%, 63.7%, 68.6%)
CIE-LABlab(32.44, -10.66, 28.59)
CIE-LCHlch(32.44, 30.51, 110.45°)
OKLaboklab(41.39% -0.0312 0.0661)
OKLCHoklch(41.39% 0.073 115.3)
XYZxyz(5.9146, 7.2820, 2.2561)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A501D #231D50
analogous
#503D1D #4A501D #31501D
triadic
#4A501D #1D4A50 #501D4A
tetradic
#4A501D #1D503D #231D50 #501D31
square
#4A501D #1D503D #231D50 #501D31
split-complementary
#4A501D #1D3150 #3D1D50
monochromatic
#151608 #20230D #4A501D #747D2D #9DAA3E

Accessibility & contrast

On white

8.55
#4A501D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4A501D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A501D
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A501D#FFFFFF#000000##FFFFFF
##4A501D1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C17
Deuteranopia (green-blind)
#554D20
Tritanopia (blue-blind)
#4F4B45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a501d;
/* rgb */ color: rgb(74, 80, 29);
/* oklch */ color: oklch(41.4% 0.073 115.3);
Tailwind
colors: {
  custom: {
    50: '#7e815b',
    500: '#4a501d',
    950: '#000000',
  },
}
SCSS
$custom: #4a501d;
$custom-light: #7e815b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a501d",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 29
  },
  "hsl": {
    "h": 67.059,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41391,
    "c": 0.07307,
    "h": 115.3
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#4A501D
secondary
#4B4485
accent
#51D661
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4A501D

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

Preview Lab → · Contrast checker → · Palette generator →

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