#4D4E07#4D4E07

#4D4E07 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.0% C 0.086 H 110.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4D4E07
RGBrgb(77, 78, 7)
HSLhsl(61, 84%, 17%)
HSVhsv(61, 91%, 31%)
CMYKcmyk(1.3%, 0%, 91%, 69.4%)
CIE-LABlab(31.90, -9.36, 37.43)
CIE-LCHlch(31.90, 38.58, 104.04°)
OKLaboklab(40.98% -0.0301 0.0805)
OKLCHoklch(40.98% 0.086 110.5)
XYZxyz(5.8235, 7.0421, 1.2535)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E07 #08074E
analogous
#4E2C07 #4D4E07 #2A4E07
triadic
#4D4E07 #074D4E #4E074D
tetradic
#4D4E07 #074E2C #08074E #4E072A
square
#4D4E07 #074E2C #08074E #4E072A
split-complementary
#4D4E07 #072A4E #2C074E
monochromatic
#1C1C03 #1C1C03 #4D4E07 #84860C #BCBE11

Accessibility & contrast

On white

8.72
#4D4E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4D4E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E07
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E07#FFFFFF#000000##FFFFFF
##4D4E071.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#564C0E
Tritanopia (blue-blind)
#534842
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d4e07;
/* rgb */ color: rgb(77, 78, 7);
/* oklch */ color: oklch(41.0% 0.086 110.5);
Tailwind
colors: {
  custom: {
    50: '#827f4f',
    500: '#4d4e07',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e07;
$custom-light: #827f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e07",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 60.845,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.40975,
    "c": 0.08596,
    "h": 110.5
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

primary
#4D4E07
secondary
#26258C
accent
#2EFA31
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4D4E07

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

Preview Lab → · Contrast checker → · Palette generator →

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