#4D460C#4D460C

#4D460C is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.0% C 0.075 H 102.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4D460C
RGBrgb(77, 70, 12)
HSLhsl(54, 73%, 17%)
HSVhsv(54, 84%, 30%)
CMYKcmyk(0%, 9.1%, 84.4%, 69.8%)
CIE-LABlab(29.37, -4.35, 33.44)
CIE-LCHlch(29.37, 33.72, 97.41°)
OKLaboklab(38.97% -0.0157 0.0731)
OKLCHoklch(38.97% 0.075 102.1)
XYZxyz(5.3173, 5.9849, 1.2229)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D460C #0C134D
analogous
#4D250C #4D460C #344D0C
triadic
#4D460C #0C4D46 #460C4D
tetradic
#4D460C #0C4D25 #0C134D #4D0C34
square
#4D460C #0C4D25 #0C134D #4D0C34
split-complementary
#4D460C #0C344D #250C4D
monochromatic
#1A1804 #1A1804 #4D460C #827614 #B7A61D

Accessibility & contrast

On white

9.56
#4D460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4D460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D460C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D460C#FFFFFF#000000##FFFFFF
##4D460C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4402
Deuteranopia (green-blind)
#4F4710
Tritanopia (blue-blind)
#54403B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d460c;
/* rgb */ color: rgb(77, 70, 12);
/* oklch */ color: oklch(39.0% 0.075 102.1);
Tailwind
colors: {
  custom: {
    50: '#827950',
    500: '#4d460c',
    950: '#000000',
  },
}
SCSS
$custom: #4d460c;
$custom-light: #827950;
$custom-dark: #000000;
JSON
{
  "hex": "#4d460c",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 53.538,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38968,
    "c": 0.07473,
    "h": 102.1
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#4D460C
secondary
#2C3689
accent
#4CF038
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D460C

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

Preview Lab → · Contrast checker → · Palette generator →

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