#4A4517#4A4517

#4A4517 is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.5% C 0.065 H 103.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4A4517
RGBrgb(74, 69, 23)
HSLhsl(54, 53%, 19%)
HSVhsv(54, 69%, 29%)
CMYKcmyk(0%, 6.8%, 68.9%, 71%)
CIE-LABlab(28.84, -4.58, 27.75)
CIE-LCHlch(28.84, 28.13, 99.37°)
OKLaboklab(38.49% -0.0148 0.0634)
OKLCHoklch(38.49% 0.065 103.1)
XYZxyz(5.1070, 5.7741, 1.6560)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4517 #171C4A
analogous
#4A2C17 #4A4517 #364A17
triadic
#4A4517 #174A45 #45174A
tetradic
#4A4517 #174A2C #171C4A #4A1736
square
#4A4517 #174A2C #171C4A #4A1736
split-complementary
#4A4517 #17364A #2C174A
monochromatic
#171607 #1B1908 #4A4517 #797126 #A79C34

Accessibility & contrast

On white

9.75
#4A4517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4A4517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4517
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4517#FFFFFF#000000##FFFFFF
##4A45171.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4312
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#50403B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a4517;
/* rgb */ color: rgb(74, 69, 23);
/* oklch */ color: oklch(38.5% 0.065 103.1);
Tailwind
colors: {
  custom: {
    50: '#7e7856',
    500: '#4a4517',
    950: '#000000',
  },
}
SCSS
$custom: #4a4517;
$custom-light: #7e7856;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4517",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 23
  },
  "hsl": {
    "h": 54.118,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38494,
    "c": 0.06507,
    "h": 103.1
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#4A4517
secondary
#3C4281
accent
#5ADC4C
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4A4517

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

Preview Lab → · Contrast checker → · Palette generator →

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