#4D4E0B#4D4E0B

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

Color values

HEX#4D4E0B
RGBrgb(77, 78, 11)
HSLhsl(61, 75%, 17%)
HSVhsv(61, 86%, 31%)
CMYKcmyk(1.3%, 0%, 85.9%, 69.4%)
CIE-LABlab(31.92, -9.20, 36.11)
CIE-LCHlch(31.92, 37.27, 104.29°)
OKLaboklab(41% -0.0293 0.0786)
OKLCHoklch(41% 0.084 110.5)
XYZxyz(5.8456, 7.0509, 1.3696)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E0B #0C0B4E
analogous
#4E2E0B #4D4E0B #2B4E0B
triadic
#4D4E0B #0B4D4E #4E0B4D
tetradic
#4D4E0B #0B4E2E #0C0B4E #4E0B2B
square
#4D4E0B #0B4E2E #0C0B4E #4E0B2B
split-complementary
#4D4E0B #0B2B4E #2E0B4E
monochromatic
#1A1B04 #1A1B04 #4D4E0B #828413 #B7B91A

Accessibility & contrast

On white

8.71
#4D4E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4E0B
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E0B#FFFFFF#000000##FFFFFF
##4D4E0B1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d4e0b;
/* rgb */ color: rgb(77, 78, 11);
/* oklch */ color: oklch(41.0% 0.084 110.5);
Tailwind
colors: {
  custom: {
    50: '#817f51',
    500: '#4d4e0b',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e0b;
$custom-light: #817f51;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e0b",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 11
  },
  "hsl": {
    "h": 60.896,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.40997,
    "c": 0.08385,
    "h": 110.5
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#4D4E0B
secondary
#2C2B8A
accent
#36F239
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4D4E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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