#4D400F#4D400F

#4D400F is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.5% C 0.067 H 93.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4D400F
RGBrgb(77, 64, 15)
HSLhsl(47, 67%, 18%)
HSVhsv(47, 81%, 30%)
CMYKcmyk(0%, 16.9%, 80.5%, 69.8%)
CIE-LABlab(27.52, -0.47, 30.41)
CIE-LCHlch(27.52, 30.42, 90.88°)
OKLaboklab(37.5% -0.0043 0.0673)
OKLCHoklch(37.5% 0.067 93.7)
XYZxyz(4.9805, 5.2793, 1.2085)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D400F #0F1C4D
analogous
#4D210F #4D400F #3B4D0F
triadic
#4D400F #0F4D40 #400F4D
tetradic
#4D400F #0F4D21 #0F1C4D #4D0F3B
square
#4D400F #0F4D21 #0F1C4D #4D0F3B
split-complementary
#4D400F #0F3B4D #210F4D
monochromatic
#1A1505 #1A1505 #4D400F #806B19 #B39523

Accessibility & contrast

On white

10.22
#4D400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4D400F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D400F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D400F#FFFFFF#000000##FFFFFF
##4D400F1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F07
Deuteranopia (green-blind)
#4B4312
Tritanopia (blue-blind)
#543A36
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d400f;
/* rgb */ color: rgb(77, 64, 15);
/* oklch */ color: oklch(37.5% 0.067 93.7);
Tailwind
colors: {
  custom: {
    50: '#817451',
    500: '#4d400f',
    950: '#000000',
  },
}
SCSS
$custom: #4d400f;
$custom-light: #817451;
$custom-dark: #000000;
JSON
{
  "hex": "#4d400f",
  "rgb": {
    "r": 77,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 47.419,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37502,
    "c": 0.06745,
    "h": 93.7
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#4D400F
secondary
#314387
accent
#62EA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D400F

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

Preview Lab → · Contrast checker → · Palette generator →

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