#4E4F1F#4E4F1F

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

Color values

HEX#4E4F1F
RGBrgb(78, 79, 31)
HSLhsl(61, 44%, 22%)
HSVhsv(61, 61%, 31%)
CMYKcmyk(1.3%, 0%, 60.8%, 69%)
CIE-LABlab(32.50, -7.95, 27.70)
CIE-LCHlch(32.50, 28.82, 106.02°)
OKLaboklab(41.54% -0.0236 0.0644)
OKLCHoklch(41.54% 0.069 110.1)
XYZxyz(6.1853, 7.3107, 2.3813)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F1F #201F4F
analogous
#4F381F #4E4F1F #364F1F
triadic
#4E4F1F #1F4E4F #4F1F4E
tetradic
#4E4F1F #1F4F38 #201F4F #4F1F36
square
#4E4F1F #1F4F38 #201F4F #4F1F36
split-complementary
#4E4F1F #1F364F #381F4F
monochromatic
#161609 #23230E #4E4F1F #797B30 #A5A741

Accessibility & contrast

On white

8.53
#4E4F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4F1F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F1F#FFFFFF#000000##FFFFFF
##4E4F1F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1A
Deuteranopia (green-blind)
#564D22
Tritanopia (blue-blind)
#534A44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4f1f;
/* rgb */ color: rgb(78, 79, 31);
/* oklch */ color: oklch(41.5% 0.069 110.1);
Tailwind
colors: {
  custom: {
    50: '#81805c',
    500: '#4e4f1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f1f;
$custom-light: #81805c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f1f",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 31
  },
  "hsl": {
    "h": 61.25,
    "s": 43.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41538,
    "c": 0.06855,
    "h": 110.1
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#4E4F1F
secondary
#474684
accent
#54D357
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4E4F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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