#4F400E#4F400E

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

Color values

HEX#4F400E
RGBrgb(79, 64, 14)
HSLhsl(46, 70%, 18%)
HSVhsv(46, 82%, 31%)
CMYKcmyk(0%, 19%, 82.3%, 69%)
CIE-LABlab(27.74, 0.51, 31.16)
CIE-LCHlch(27.74, 31.16, 89.05°)
OKLaboklab(37.73% -0.0018 0.0686)
OKLCHoklch(37.73% 0.069 91.5)
XYZxyz(5.1374, 5.3611, 1.1796)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F400E #0E1D4F
analogous
#4F1F0E #4F400E #3D4F0E
triadic
#4F400E #0E4F40 #400E4F
tetradic
#4F400E #0E4F1F #0E1D4F #4F0E3D
square
#4F400E #0E4F1F #0E1D4F #4F0E3D
split-complementary
#4F400E #0E3D4F #1F0E4F
monochromatic
#1A1505 #1B1605 #4F400E #836A17 #B79420

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F400E#FFFFFF#000000##FFFFFF
##4F400E1.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)
#483F06
Deuteranopia (green-blind)
#4C4311
Tritanopia (blue-blind)
#563A36
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f400e;
/* rgb */ color: rgb(79, 64, 14);
/* oklch */ color: oklch(37.7% 0.069 91.5);
Tailwind
colors: {
  custom: {
    50: '#837451',
    500: '#4f400e',
    950: '#000000',
  },
}
SCSS
$custom: #4f400e;
$custom-light: #837451;
$custom-dark: #000000;
JSON
{
  "hex": "#4f400e",
  "rgb": {
    "r": 79,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 46.154,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3773,
    "c": 0.06858,
    "h": 91.5
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#4F400E
secondary
#2F448A
accent
#64ED3B
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4F400E

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

Preview Lab → · Contrast checker → · Palette generator →

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