#4D4E0F#4D4E0F

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

Color values

HEX#4D4E0F
RGBrgb(77, 78, 15)
HSLhsl(61, 68%, 18%)
HSVhsv(61, 81%, 31%)
CMYKcmyk(1.3%, 0%, 80.8%, 69.4%)
CIE-LABlab(31.95, -9.01, 34.66)
CIE-LCHlch(31.95, 35.81, 104.57°)
OKLaboklab(41.02% -0.0284 0.0763)
OKLCHoklch(41.02% 0.081 110.4)
XYZxyz(5.8714, 7.0612, 1.5055)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E0F #100F4E
analogous
#4E2F0F #4D4E0F #2D4E0F
triadic
#4D4E0F #0F4D4E #4E0F4D
tetradic
#4D4E0F #0F4E2F #100F4E #4E0F2D
square
#4D4E0F #0F4E2F #100F4E #4E0F2D
split-complementary
#4D4E0F #0F2D4E #2F0F4E
monochromatic
#191A05 #1A1B05 #4D4E0F #808119 #B2B523

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D4E0F#FFFFFF#000000##FFFFFF
##4D4E0F1.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)
#554A04
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#534942
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d4e0f;
/* rgb */ color: rgb(77, 78, 15);
/* oklch */ color: oklch(41.0% 0.081 110.4);
Tailwind
colors: {
  custom: {
    50: '#817f53',
    500: '#4d4e0f',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e0f;
$custom-light: #817f53;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e0f",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 60.952,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.41023,
    "c": 0.08143,
    "h": 110.4
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#4D4E0F
secondary
#323188
accent
#3DEB40
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D4E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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