#4E4A1C#4E4A1C

#4E4A1C is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.2% C 0.066 H 104.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#4E4A1C
RGBrgb(78, 74, 28)
HSLhsl(55, 47%, 21%)
HSVhsv(55, 64%, 31%)
CMYKcmyk(0%, 5.1%, 64.1%, 69.4%)
CIE-LABlab(30.88, -5.22, 27.48)
CIE-LCHlch(30.88, 27.97, 100.76°)
OKLaboklab(40.24% -0.0162 0.0635)
OKLCHoklch(40.24% 0.066 104.3)
XYZxyz(5.8005, 6.6013, 2.0670)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A1C #1C204E
analogous
#4E311C #4E4A1C #394E1C
triadic
#4E4A1C #1C4E4A #4A1C4E
tetradic
#4E4A1C #1C4E31 #1C204E #4E1C39
square
#4E4A1C #1C4E31 #1C204E #4E1C39
split-complementary
#4E4A1C #1C394E #311C4E
monochromatic
#171508 #211F0C #4E4A1C #7B752C #A89F3C

Accessibility & contrast

On white

9.05
#4E4A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4E4A1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A1C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A1C#FFFFFF#000000##FFFFFF
##4E4A1C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514717
Deuteranopia (green-blind)
#524A1E
Tritanopia (blue-blind)
#544540
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4a1c;
/* rgb */ color: rgb(78, 74, 28);
/* oklch */ color: oklch(40.2% 0.066 104.3);
Tailwind
colors: {
  custom: {
    50: '#817c5a',
    500: '#4e4a1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a1c;
$custom-light: #817c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a1c",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 28
  },
  "hsl": {
    "h": 55.2,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40235,
    "c": 0.06551,
    "h": 104.3
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#4E4A1C
secondary
#424784
accent
#5CD751
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4E4A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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