#4C460B#4C460B

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

Color values

HEX#4C460B
RGBrgb(76, 70, 11)
HSLhsl(54, 75%, 17%)
HSVhsv(54, 86%, 30%)
CMYKcmyk(0%, 7.9%, 85.5%, 70.2%)
CIE-LABlab(29.26, -4.91, 33.68)
CIE-LCHlch(29.26, 34.04, 98.29°)
OKLaboklab(38.85% -0.0173 0.0734)
OKLCHoklch(38.85% 0.075 103.3)
XYZxyz(5.2313, 5.9412, 1.1878)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C460B #0B114C
analogous
#4C260B #4C460B #324C0B
triadic
#4C460B #0B4C46 #460B4C
tetradic
#4C460B #0B4C26 #0B114C #4C0B32
square
#4C460B #0B4C26 #0B114C #4C0B32
split-complementary
#4C460B #0B324C #260B4C
monochromatic
#1B1904 #1B1904 #4C460B #817713 #B7A81A

Accessibility & contrast

On white

9.60
#4C460B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C460B
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C460B#FFFFFF#000000##FFFFFF
##4C460B1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4301
Deuteranopia (green-blind)
#4F4610
Tritanopia (blue-blind)
#53403B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c460b;
/* rgb */ color: rgb(76, 70, 11);
/* oklch */ color: oklch(38.9% 0.075 103.3);
Tailwind
colors: {
  custom: {
    50: '#817950',
    500: '#4c460b',
    950: '#000000',
  },
}
SCSS
$custom: #4c460b;
$custom-light: #817950;
$custom-dark: #000000;
JSON
{
  "hex": "#4c460b",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 54.462,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.38853,
    "c": 0.07542,
    "h": 103.3
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#4C460B
secondary
#2B3388
accent
#48F136
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C460B

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

Preview Lab → · Contrast checker → · Palette generator →

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