#4C400F#4C400F

#4C400F is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.4% C 0.067 H 94.9°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#4C400F
RGBrgb(76, 64, 15)
HSLhsl(48, 67%, 18%)
HSVhsv(48, 80%, 30%)
CMYKcmyk(0%, 15.8%, 80.3%, 70.2%)
CIE-LABlab(27.40, -0.99, 30.26)
CIE-LCHlch(27.40, 30.28, 91.86°)
OKLaboklab(37.39% -0.0057 0.067)
OKLCHoklch(37.39% 0.067 94.9)
XYZxyz(4.9004, 5.2381, 1.2048)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C400F #0F1B4C
analogous
#4C220F #4C400F #394C0F
triadic
#4C400F #0F4C40 #400F4C
tetradic
#4C400F #0F4C22 #0F1B4C #4C0F39
square
#4C400F #0F4C22 #0F1B4C #4C0F39
split-complementary
#4C400F #0F394C #220F4C
monochromatic
#1A1605 #1A1605 #4C400F #7F6B19 #B29623

Accessibility & contrast

On white

10.26
#4C400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4C400F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C400F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C400F#FFFFFF#000000##FFFFFF
##4C400F1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F08
Deuteranopia (green-blind)
#4B4212
Tritanopia (blue-blind)
#533A36
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c400f;
/* rgb */ color: rgb(76, 64, 15);
/* oklch */ color: oklch(37.4% 0.067 94.9);
Tailwind
colors: {
  custom: {
    50: '#817451',
    500: '#4c400f',
    950: '#000000',
  },
}
SCSS
$custom: #4c400f;
$custom-light: #817451;
$custom-dark: #000000;
JSON
{
  "hex": "#4c400f",
  "rgb": {
    "r": 76,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 48.197,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37386,
    "c": 0.06728,
    "h": 94.9
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#4C400F
secondary
#314186
accent
#60EA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4C400F

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

Preview Lab → · Contrast checker → · Palette generator →

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