#4F4D0C#4F4D0C

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

Color values

HEX#4F4D0C
RGBrgb(79, 77, 12)
HSLhsl(58, 74%, 18%)
HSVhsv(58, 85%, 31%)
CMYKcmyk(0%, 2.5%, 84.8%, 69%)
CIE-LABlab(31.80, -7.56, 35.73)
CIE-LCHlch(31.80, 36.52, 101.95°)
OKLaboklab(40.95% -0.0248 0.0778)
OKLCHoklch(40.95% 0.082 107.7)
XYZxyz(5.9449, 6.9968, 1.3851)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4D0C #0C0E4F
analogous
#4F2B0C #4F4D0C #2F4F0C
triadic
#4F4D0C #0C4F4D #4D0C4F
tetradic
#4F4D0C #0C4F2B #0C0E4F #4F0C2F
square
#4F4D0C #0C4F2B #0C0E4F #4F0C2F
split-complementary
#4F4D0C #0C2F4F #2B0C4F
monochromatic
#1B1A04 #1B1A04 #4F4D0C #848114 #B9B51C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F4D0C#FFFFFF#000000##FFFFFF
##4F4D0C1.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)
#544A00
Deuteranopia (green-blind)
#554C12
Tritanopia (blue-blind)
#554741
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f4d0c;
/* rgb */ color: rgb(79, 77, 12);
/* oklch */ color: oklch(40.9% 0.082 107.7);
Tailwind
colors: {
  custom: {
    50: '#837e51',
    500: '#4f4d0c',
    950: '#000000',
  },
}
SCSS
$custom: #4f4d0c;
$custom-light: #837e51;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4d0c",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 58.209,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.40948,
    "c": 0.0817,
    "h": 107.7
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#4F4D0C
secondary
#2C2F8B
accent
#3DF038
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F4D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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