#4F4D12#4F4D12

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

Color values

HEX#4F4D12
RGBrgb(79, 77, 18)
HSLhsl(58, 63%, 19%)
HSVhsv(58, 77%, 31%)
CMYKcmyk(0%, 2.5%, 77.2%, 69%)
CIE-LABlab(31.84, -7.25, 33.38)
CIE-LCHlch(31.84, 34.16, 102.25°)
OKLaboklab(40.99% -0.0233 0.0741)
OKLCHoklch(40.99% 0.078 107.4)
XYZxyz(5.9877, 7.0139, 1.6106)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4D12 #12144F
analogous
#4F2F12 #4F4D12 #334F12
triadic
#4F4D12 #124F4D #4D124F
tetradic
#4F4D12 #124F2F #12144F #4F1233
square
#4F4D12 #124F2F #12144F #4F1233
split-complementary
#4F4D12 #12334F #2F124F
monochromatic
#191806 #1D1C07 #4F4D12 #817E1D #B3AE29

Accessibility & contrast

On white

8.74
#4F4D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F4D12
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4D12#FFFFFF#000000##FFFFFF
##4F4D121.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f4d12;
/* rgb */ color: rgb(79, 77, 18);
/* oklch */ color: oklch(41.0% 0.078 107.4);
Tailwind
colors: {
  custom: {
    50: '#837e54',
    500: '#4f4d12',
    950: '#000000',
  },
}
SCSS
$custom: #4f4d12;
$custom-light: #837e54;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4d12",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 58.033,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40991,
    "c": 0.07772,
    "h": 107.4
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#4F4D12
secondary
#353888
accent
#47E642
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4D12

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

Preview Lab → · Contrast checker → · Palette generator →

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