#4D4E12#4D4E12

#4D4E12 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.0% C 0.079 H 110.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4D4E12
RGBrgb(77, 78, 18)
HSLhsl(61, 63%, 19%)
HSVhsv(61, 77%, 31%)
CMYKcmyk(1.3%, 0%, 76.9%, 69.4%)
CIE-LABlab(31.97, -8.84, 33.45)
CIE-LCHlch(31.97, 34.60, 104.81°)
OKLaboklab(41.05% -0.0276 0.0744)
OKLCHoklch(41.05% 0.079 110.4)
XYZxyz(5.8943, 7.0704, 1.6264)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E12 #13124E
analogous
#4E3112 #4D4E12 #2F4E12
triadic
#4D4E12 #124D4E #4E124D
tetradic
#4D4E12 #124E31 #13124E #4E122F
square
#4D4E12 #124E31 #13124E #4E122F
split-complementary
#4D4E12 #122F4E #31124E
monochromatic
#191906 #1C1C07 #4D4E12 #7E801D #AFB129

Accessibility & contrast

On white

8.70
#4D4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4E12
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E12#FFFFFF#000000##FFFFFF
##4D4E121.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A08
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#534942
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d4e12;
/* rgb */ color: rgb(77, 78, 18);
/* oklch */ color: oklch(41.0% 0.079 110.4);
Tailwind
colors: {
  custom: {
    50: '#817f54',
    500: '#4d4e12',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e12;
$custom-light: #817f54;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e12",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 61,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41047,
    "c": 0.07933,
    "h": 110.4
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#4D4E12
secondary
#363587
accent
#42E645
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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