#4F400D#4F400D

#4F400D is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.7% C 0.069 H 91.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4F400D
RGBrgb(79, 64, 13)
HSLhsl(46, 72%, 18%)
HSVhsv(46, 84%, 31%)
CMYKcmyk(0%, 19%, 83.5%, 69%)
CIE-LABlab(27.73, 0.47, 31.59)
CIE-LCHlch(27.73, 31.59, 89.16°)
OKLaboklab(37.72% -0.002 0.0692)
OKLCHoklch(37.72% 0.069 91.7)
XYZxyz(5.1308, 5.3584, 1.1447)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F400D #0D1C4F
analogous
#4F1F0D #4F400D #3D4F0D
triadic
#4F400D #0D4F40 #400D4F
tetradic
#4F400D #0D4F1F #0D1C4F #4F0D3D
square
#4F400D #0D4F1F #0D1C4F #4F0D3D
split-complementary
#4F400D #0D3D4F #1F0D4F
monochromatic
#1A1504 #1A1504 #4F400D #846B16 #B8951E

Accessibility & contrast

On white

10.14
#4F400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4F400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F400D
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F400D#FFFFFF#000000##FFFFFF
##4F400D1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F05
Deuteranopia (green-blind)
#4C4310
Tritanopia (blue-blind)
#563A36
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f400d;
/* rgb */ color: rgb(79, 64, 13);
/* oklch */ color: oklch(37.7% 0.069 91.7);
Tailwind
colors: {
  custom: {
    50: '#837450',
    500: '#4f400d',
    950: '#000000',
  },
}
SCSS
$custom: #4f400d;
$custom-light: #837450;
$custom-dark: #000000;
JSON
{
  "hex": "#4f400d",
  "rgb": {
    "r": 79,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 46.364,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37722,
    "c": 0.06927,
    "h": 91.7
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#4F400D
secondary
#2E438A
accent
#62EE39
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4F400D

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

Preview Lab → · Contrast checker → · Palette generator →

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