#4E4C0F#4E4C0F

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

Color values

HEX#4E4C0F
RGBrgb(78, 76, 15)
HSLhsl(58, 68%, 18%)
HSVhsv(58, 81%, 31%)
CMYKcmyk(0%, 2.6%, 80.8%, 69.4%)
CIE-LABlab(31.40, -7.32, 34.18)
CIE-LCHlch(31.40, 34.96, 102.09°)
OKLaboklab(40.61% -0.0238 0.0753)
OKLCHoklch(40.61% 0.079 107.5)
XYZxyz(5.8128, 6.8233, 1.4627)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C0F #0F114E
analogous
#4E2C0F #4E4C0F #304E0F
triadic
#4E4C0F #0F4E4C #4C0F4E
tetradic
#4E4C0F #0F4E2C #0F114E #4E0F30
square
#4E4C0F #0F4E2C #0F114E #4E0F30
split-complementary
#4E4C0F #0F304E #2C0F4E
monochromatic
#1A1905 #1B1A05 #4E4C0F #817E19 #B5B023

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4C0F#FFFFFF#000000##FFFFFF
##4E4C0F1.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)
#534904
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#544640
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4c0f;
/* rgb */ color: rgb(78, 76, 15);
/* oklch */ color: oklch(40.6% 0.079 107.5);
Tailwind
colors: {
  custom: {
    50: '#827d53',
    500: '#4e4c0f',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c0f;
$custom-light: #827d53;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c0f",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 58.095,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.40612,
    "c": 0.07891,
    "h": 107.5
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#4E4C0F
secondary
#313388
accent
#43EB3D
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E4C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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