#4F4D0F#4F4D0F

#4F4D0F is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.0% C 0.080 H 107.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#4F4D0F
RGBrgb(79, 77, 15)
HSLhsl(58, 68%, 18%)
HSVhsv(58, 81%, 31%)
CMYKcmyk(0%, 2.5%, 81%, 69%)
CIE-LABlab(31.82, -7.41, 34.61)
CIE-LCHlch(31.82, 35.39, 102.09°)
OKLaboklab(40.97% -0.0241 0.0761)
OKLCHoklch(40.97% 0.08 107.6)
XYZxyz(5.9648, 7.0047, 1.4897)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4D0F #0F114F
analogous
#4F2D0F #4F4D0F #314F0F
triadic
#4F4D0F #0F4F4D #4D0F4F
tetradic
#4F4D0F #0F4F2D #0F114F #4F0F31
square
#4F4D0F #0F4F2D #0F114F #4F0F31
split-complementary
#4F4D0F #0F314F #2D0F4F
monochromatic
#1A1905 #1C1B05 #4F4D0F #827F19 #B6B123

Accessibility & contrast

On white

8.75
#4F4D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4F4D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4D0F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4D0F#FFFFFF#000000##FFFFFF
##4F4D0F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A04
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#554741
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f4d0f;
/* rgb */ color: rgb(79, 77, 15);
/* oklch */ color: oklch(41.0% 0.080 107.6);
Tailwind
colors: {
  custom: {
    50: '#837e53',
    500: '#4f4d0f',
    950: '#000000',
  },
}
SCSS
$custom: #4f4d0f;
$custom-light: #837e53;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4d0f",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 58.125,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.40968,
    "c": 0.07983,
    "h": 107.6
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#4F4D0F
secondary
#313389
accent
#42EB3D
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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