#4D4F0F#4D4F0F

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

Color values

HEX#4D4F0F
RGBrgb(77, 79, 15)
HSLhsl(62, 68%, 18%)
HSVhsv(62, 81%, 31%)
CMYKcmyk(2.5%, 0%, 81%, 69%)
CIE-LABlab(32.27, -9.60, 34.96)
CIE-LCHlch(32.27, 36.26, 105.35°)
OKLaboklab(41.28% -0.0301 0.077)
OKLCHoklch(41.28% 0.083 111.3)
XYZxyz(5.9430, 7.2044, 1.5294)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4F0F #110F4F
analogous
#4F310F #4D4F0F #2D4F0F
triadic
#4D4F0F #0F4D4F #4F0F4D
tetradic
#4D4F0F #0F4F31 #110F4F #4F0F2D
square
#4D4F0F #0F4F31 #110F4F #4F0F2D
split-complementary
#4D4F0F #0F2D4F #310F4F
monochromatic
#191A05 #1B1C05 #4D4F0F #7F8219 #B1B623

Accessibility & contrast

On white

8.60
#4D4F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4F0F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4F0F#FFFFFF#000000##FFFFFF
##4D4F0F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B03
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#534A43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d4f0f;
/* rgb */ color: rgb(77, 79, 15);
/* oklch */ color: oklch(41.3% 0.083 111.3);
Tailwind
colors: {
  custom: {
    50: '#818053',
    500: '#4d4f0f',
    950: '#000000',
  },
}
SCSS
$custom: #4d4f0f;
$custom-light: #818053;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4f0f",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 61.875,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.41281,
    "c": 0.08261,
    "h": 111.3
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#4D4F0F
secondary
#333189
accent
#3DEB42
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D4F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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