#4F400F#4F400F

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

Color values

HEX#4F400F
RGBrgb(79, 64, 15)
HSLhsl(46, 68%, 18%)
HSVhsv(46, 81%, 31%)
CMYKcmyk(0%, 19%, 81%, 69%)
CIE-LABlab(27.75, 0.57, 30.72)
CIE-LCHlch(27.75, 30.72, 88.94°)
OKLaboklab(37.74% -0.0015 0.0679)
OKLCHoklch(37.74% 0.068 91.3)
XYZxyz(5.1444, 5.3639, 1.2162)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F400F #0F1E4F
analogous
#4F200F #4F400F #3E4F0F
triadic
#4F400F #0F4F40 #400F4F
tetradic
#4F400F #0F4F20 #0F1E4F #4F0F3E
square
#4F400F #0F4F20 #0F1E4F #4F0F3E
split-complementary
#4F400F #0F3E4F #200F4F
monochromatic
#1A1505 #1C1605 #4F400F #826A19 #B69323

Accessibility & contrast

On white

10.13
#4F400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F400F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F400F#FFFFFF#000000##FFFFFF
##4F400F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f400f;
/* rgb */ color: rgb(79, 64, 15);
/* oklch */ color: oklch(37.7% 0.068 91.3);
Tailwind
colors: {
  custom: {
    50: '#837451',
    500: '#4f400f',
    950: '#000000',
  },
}
SCSS
$custom: #4f400f;
$custom-light: #837451;
$custom-dark: #000000;
JSON
{
  "hex": "#4f400f",
  "rgb": {
    "r": 79,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 45.938,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37738,
    "c": 0.06788,
    "h": 91.3
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#4F400F
secondary
#314589
accent
#66EB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4F400F

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

Preview Lab → · Contrast checker → · Palette generator →

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