#4C400E#4C400E

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

Color values

HEX#4C400E
RGBrgb(76, 64, 14)
HSLhsl(48, 69%, 18%)
HSVhsv(48, 82%, 30%)
CMYKcmyk(0%, 15.8%, 81.6%, 70.2%)
CIE-LABlab(27.39, -1.04, 30.71)
CIE-LCHlch(27.39, 30.73, 91.94°)
OKLaboklab(37.38% -0.006 0.0678)
OKLCHoklch(37.38% 0.068 95.1)
XYZxyz(4.8934, 5.2353, 1.1681)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C400E #0E1A4C
analogous
#4C210E #4C400E #394C0E
triadic
#4C400E #0E4C40 #400E4C
tetradic
#4C400E #0E4C21 #0E1A4C #4C0E39
square
#4C400E #0E4C21 #0E1A4C #4C0E39
split-complementary
#4C400E #0E394C #210E4C
monochromatic
#1A1605 #1A1605 #4C400E #806C18 #B39721

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C400E#FFFFFF#000000##FFFFFF
##4C400E1.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)
#483F06
Deuteranopia (green-blind)
#4B4211
Tritanopia (blue-blind)
#533A36
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c400e;
/* rgb */ color: rgb(76, 64, 14);
/* oklch */ color: oklch(37.4% 0.068 95.1);
Tailwind
colors: {
  custom: {
    50: '#817450',
    500: '#4c400e',
    950: '#000000',
  },
}
SCSS
$custom: #4c400e;
$custom-light: #817450;
$custom-dark: #000000;
JSON
{
  "hex": "#4c400e",
  "rgb": {
    "r": 76,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 48.387,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37377,
    "c": 0.06802,
    "h": 95.1
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#4C400E
secondary
#2F4087
accent
#5EEC3C
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4C400E

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

Preview Lab → · Contrast checker → · Palette generator →

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