#4D4F0B#4D4F0B

#4D4F0B is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.3% C 0.085 H 111.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4D4F0B
RGBrgb(77, 79, 11)
HSLhsl(62, 76%, 18%)
HSVhsv(62, 86%, 31%)
CMYKcmyk(2.5%, 0%, 86.1%, 69%)
CIE-LABlab(32.24, -9.79, 36.40)
CIE-LCHlch(32.24, 37.69, 105.05°)
OKLaboklab(41.26% -0.031 0.0792)
OKLCHoklch(41.26% 0.085 111.4)
XYZxyz(5.9172, 7.1941, 1.3934)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4F0B #0D0B4F
analogous
#4F2F0B #4D4F0B #2B4F0B
triadic
#4D4F0B #0B4D4F #4F0B4D
tetradic
#4D4F0B #0B4F2F #0D0B4F #4F0B2B
square
#4D4F0B #0B4F2F #0D0B4F #4F0B2B
split-complementary
#4D4F0B #0B2B4F #2F0B4F
monochromatic
#1A1B04 #1A1B04 #4D4F0B #818512 #B6BA1A

Accessibility & contrast

On white

8.61
#4D4F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4D4F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4F0B
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4F0B#FFFFFF#000000##FFFFFF
##4D4F0B1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#564D11
Tritanopia (blue-blind)
#534943
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d4f0b;
/* rgb */ color: rgb(77, 79, 11);
/* oklch */ color: oklch(41.3% 0.085 111.4);
Tailwind
colors: {
  custom: {
    50: '#818051',
    500: '#4d4f0b',
    950: '#000000',
  },
}
SCSS
$custom: #4d4f0b;
$custom-light: #818051;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4f0b",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 11
  },
  "hsl": {
    "h": 61.765,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.41255,
    "c": 0.08501,
    "h": 111.4
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#4D4F0B
secondary
#2E2B8B
accent
#36F23B
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4D4F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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