#4C460D#4C460D

#4C460D is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.9% C 0.074 H 103.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#4C460D
RGBrgb(76, 70, 13)
HSLhsl(54, 71%, 17%)
HSVhsv(54, 83%, 30%)
CMYKcmyk(0%, 7.9%, 82.9%, 70.2%)
CIE-LABlab(29.28, -4.82, 32.92)
CIE-LCHlch(29.28, 33.27, 98.32°)
OKLaboklab(38.87% -0.0168 0.0722)
OKLCHoklch(38.87% 0.074 103.1)
XYZxyz(5.2435, 5.9461, 1.2522)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C460D #0D134C
analogous
#4C270D #4C460D #324C0D
triadic
#4C460D #0D4C46 #460D4C
tetradic
#4C460D #0D4C27 #0D134C #4C0D32
square
#4C460D #0D4C27 #0D134C #4C0D32
split-complementary
#4C460D #0D324C #270D4C
monochromatic
#1A1804 #1A1804 #4C460D #807616 #B5A61F

Accessibility & contrast

On white

9.59
#4C460D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4C460D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C460D
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C460D#FFFFFF#000000##FFFFFF
##4C460D1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4303
Deuteranopia (green-blind)
#4F4611
Tritanopia (blue-blind)
#52403B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c460d;
/* rgb */ color: rgb(76, 70, 13);
/* oklch */ color: oklch(38.9% 0.074 103.1);
Tailwind
colors: {
  custom: {
    50: '#817951',
    500: '#4c460d',
    950: '#000000',
  },
}
SCSS
$custom: #4c460d;
$custom-light: #817951;
$custom-dark: #000000;
JSON
{
  "hex": "#4c460d",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 13
  },
  "hsl": {
    "h": 54.286,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38867,
    "c": 0.07416,
    "h": 103.1
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#4C460D
secondary
#2E3687
accent
#4BEE3A
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C460D

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

Preview Lab → · Contrast checker → · Palette generator →

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