#4E4D07#4E4D07

#4E4D07 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.8% C 0.085 H 108.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4E4D07
RGBrgb(78, 77, 7)
HSLhsl(59, 84%, 17%)
HSVhsv(59, 91%, 31%)
CMYKcmyk(0%, 1.3%, 91%, 69.4%)
CIE-LABlab(31.68, -8.27, 37.28)
CIE-LCHlch(31.68, 38.18, 102.50°)
OKLaboklab(40.82% -0.0272 0.0801)
OKLCHoklch(40.82% 0.085 108.7)
XYZxyz(5.8344, 6.9430, 1.2338)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D07 #07084E
analogous
#4E2A07 #4E4D07 #2C4E07
triadic
#4E4D07 #074E4D #4D074E
tetradic
#4E4D07 #074E2A #07084E #4E072C
square
#4E4D07 #074E2A #07084E #4E072C
split-complementary
#4E4D07 #072C4E #2A074E
monochromatic
#1C1C03 #1C1C03 #4E4D07 #86840C #BEBC11

Accessibility & contrast

On white

8.79
#4E4D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4E4D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D07
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D07#FFFFFF#000000##FFFFFF
##4E4D071.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#554C0E
Tritanopia (blue-blind)
#544741
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4d07;
/* rgb */ color: rgb(78, 77, 7);
/* oklch */ color: oklch(40.8% 0.085 108.7);
Tailwind
colors: {
  custom: {
    50: '#827e4f',
    500: '#4e4d07',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d07;
$custom-light: #827e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d07",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 7
  },
  "hsl": {
    "h": 59.155,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.40818,
    "c": 0.0846,
    "h": 108.7
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#4E4D07
secondary
#25268C
accent
#31FA2E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E4D07

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

Preview Lab → · Contrast checker → · Palette generator →

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