#4E4F1C#4E4F1C

#4E4F1C is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.5% C 0.072 H 110.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4E4F1C
RGBrgb(78, 79, 28)
HSLhsl(61, 48%, 21%)
HSVhsv(61, 65%, 31%)
CMYKcmyk(1.3%, 0%, 64.6%, 69%)
CIE-LABlab(32.47, -8.22, 29.24)
CIE-LCHlch(32.47, 30.37, 105.70°)
OKLaboklab(41.5% -0.0247 0.0672)
OKLCHoklch(41.5% 0.072 110.2)
XYZxyz(6.1476, 7.2957, 2.1827)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F1C #1D1C4F
analogous
#4F361C #4E4F1C #344F1C
triadic
#4E4F1C #1C4E4F #4F1C4E
tetradic
#4E4F1C #1C4F36 #1D1C4F #4F1C34
square
#4E4F1C #1C4F36 #1D1C4F #4F1C34
split-complementary
#4E4F1C #1C344F #361C4F
monochromatic
#161708 #21220C #4E4F1C #7B7C2C #A7A93C

Accessibility & contrast

On white

8.54
#4E4F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4E4F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F1C
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F1C#FFFFFF#000000##FFFFFF
##4E4F1C1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C16
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#544A44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4f1c;
/* rgb */ color: rgb(78, 79, 28);
/* oklch */ color: oklch(41.5% 0.072 110.2);
Tailwind
colors: {
  custom: {
    50: '#81805b',
    500: '#4e4f1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f1c;
$custom-light: #81805b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f1c",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 28
  },
  "hsl": {
    "h": 61.176,
    "s": 47.664,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41501,
    "c": 0.07162,
    "h": 110.2
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#4E4F1C
secondary
#444285
accent
#51D753
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E4F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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