#4C460E#4C460E

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

Color values

HEX#4C460E
RGBrgb(76, 70, 14)
HSLhsl(54, 69%, 18%)
HSVhsv(54, 82%, 30%)
CMYKcmyk(0%, 7.9%, 81.6%, 70.2%)
CIE-LABlab(29.28, -4.76, 32.51)
CIE-LCHlch(29.28, 32.86, 98.34°)
OKLaboklab(38.87% -0.0166 0.0716)
OKLCHoklch(38.87% 0.073 103)
XYZxyz(5.2501, 5.9487, 1.2871)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C460E #0E144C
analogous
#4C270E #4C460E #334C0E
triadic
#4C460E #0E4C46 #460E4C
tetradic
#4C460E #0E4C27 #0E144C #4C0E33
square
#4C460E #0E4C27 #0E144C #4C0E33
split-complementary
#4C460E #0E334C #270E4C
monochromatic
#1A1805 #1A1805 #4C460E #807618 #B3A521

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C460E#FFFFFF#000000##FFFFFF
##4C460E1.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)
#4D4305
Deuteranopia (green-blind)
#4F4612
Tritanopia (blue-blind)
#52403B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c460e;
/* rgb */ color: rgb(76, 70, 14);
/* oklch */ color: oklch(38.9% 0.073 103.0);
Tailwind
colors: {
  custom: {
    50: '#817951',
    500: '#4c460e',
    950: '#000000',
  },
}
SCSS
$custom: #4c460e;
$custom-light: #817951;
$custom-dark: #000000;
JSON
{
  "hex": "#4c460e",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 14
  },
  "hsl": {
    "h": 54.194,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38874,
    "c": 0.07348,
    "h": 103
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#4C460E
secondary
#2F3887
accent
#4DEC3C
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4C460E

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

Preview Lab → · Contrast checker → · Palette generator →

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