#4D460F#4D460F

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

Color values

HEX#4D460F
RGBrgb(77, 70, 15)
HSLhsl(53, 67%, 18%)
HSVhsv(53, 81%, 30%)
CMYKcmyk(0%, 9.1%, 80.5%, 69.8%)
CIE-LABlab(29.39, -4.20, 32.24)
CIE-LCHlch(29.39, 32.51, 97.42°)
OKLaboklab(38.99% -0.0149 0.0712)
OKLCHoklch(38.99% 0.073 101.8)
XYZxyz(5.3372, 5.9928, 1.3274)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D460F #0F164D
analogous
#4D270F #4D460F #354D0F
triadic
#4D460F #0F4D46 #460F4D
tetradic
#4D460F #0F4D27 #0F164D #4D0F35
square
#4D460F #0F4D27 #0F164D #4D0F35
split-complementary
#4D460F #0F354D #270F4D
monochromatic
#1A1705 #1A1705 #4D460F #807519 #B3A323

Accessibility & contrast

On white

9.55
#4D460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D460F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D460F#FFFFFF#000000##FFFFFF
##4D460F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d460f;
/* rgb */ color: rgb(77, 70, 15);
/* oklch */ color: oklch(39.0% 0.073 101.8);
Tailwind
colors: {
  custom: {
    50: '#817952',
    500: '#4d460f',
    950: '#000000',
  },
}
SCSS
$custom: #4d460f;
$custom-light: #817952;
$custom-dark: #000000;
JSON
{
  "hex": "#4d460f",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 53.226,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3899,
    "c": 0.07272,
    "h": 101.8
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#4D460F
secondary
#313A87
accent
#51EA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D460F

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

Preview Lab → · Contrast checker → · Palette generator →

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