#4E4C0E#4E4C0E

#4E4C0E is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.6% C 0.080 H 107.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#4E4C0E
RGBrgb(78, 76, 14)
HSLhsl(58, 70%, 18%)
HSVhsv(58, 82%, 31%)
CMYKcmyk(0%, 2.6%, 82.1%, 69.4%)
CIE-LABlab(31.39, -7.37, 34.57)
CIE-LCHlch(31.39, 35.35, 102.04°)
OKLaboklab(40.61% -0.024 0.0759)
OKLCHoklch(40.61% 0.08 107.6)
XYZxyz(5.8058, 6.8205, 1.4260)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C0E #0E104E
analogous
#4E2C0E #4E4C0E #304E0E
triadic
#4E4C0E #0E4E4C #4C0E4E
tetradic
#4E4C0E #0E4E2C #0E104E #4E0E30
square
#4E4C0E #0E4E2C #0E104E #4E0E30
split-complementary
#4E4C0E #0E304E #2C0E4E
monochromatic
#1A1905 #1A1905 #4E4C0E #827F17 #B6B121

Accessibility & contrast

On white

8.88
#4E4C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E4C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C0E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C0E#FFFFFF#000000##FFFFFF
##4E4C0E1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534903
Deuteranopia (green-blind)
#544B13
Tritanopia (blue-blind)
#544640
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4c0e;
/* rgb */ color: rgb(78, 76, 14);
/* oklch */ color: oklch(40.6% 0.080 107.6);
Tailwind
colors: {
  custom: {
    50: '#827d52',
    500: '#4e4c0e',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c0e;
$custom-light: #827d52;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c0e",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 58.125,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.40605,
    "c": 0.07957,
    "h": 107.6
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#4E4C0E
secondary
#2F3289
accent
#41EC3B
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E4C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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