#4D460D#4D460D

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

Color values

HEX#4D460D
RGBrgb(77, 70, 13)
HSLhsl(53, 71%, 18%)
HSVhsv(53, 83%, 30%)
CMYKcmyk(0%, 9.1%, 83.1%, 69.8%)
CIE-LABlab(29.38, -4.30, 33.05)
CIE-LCHlch(29.38, 33.33, 97.42°)
OKLaboklab(38.98% -0.0154 0.0725)
OKLCHoklch(38.98% 0.074 102)
XYZxyz(5.3236, 5.9874, 1.2560)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D460D #0D144D
analogous
#4D260D #4D460D #344D0D
triadic
#4D460D #0D4D46 #460D4D
tetradic
#4D460D #0D4D26 #0D144D #4D0D34
square
#4D460D #0D4D26 #0D144D #4D0D34
split-complementary
#4D460D #0D344D #260D4D
monochromatic
#1A1804 #1A1804 #4D460D #817616 #B6A51F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D460D#FFFFFF#000000##FFFFFF
##4D460D1.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)
#4D4403
Deuteranopia (green-blind)
#4F4711
Tritanopia (blue-blind)
#54403B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d460d;
/* rgb */ color: rgb(77, 70, 13);
/* oklch */ color: oklch(39.0% 0.074 102.0);
Tailwind
colors: {
  custom: {
    50: '#817951',
    500: '#4d460d',
    950: '#000000',
  },
}
SCSS
$custom: #4d460d;
$custom-light: #817951;
$custom-dark: #000000;
JSON
{
  "hex": "#4d460d",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 13
  },
  "hsl": {
    "h": 53.438,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38975,
    "c": 0.07409,
    "h": 102
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#4D460D
secondary
#2E3888
accent
#4EEE3A
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D460D

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

Preview Lab → · Contrast checker → · Palette generator →

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