#4F420E#4F420E

#4F420E is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 38.2% C 0.070 H 94.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4F420E
RGBrgb(79, 66, 14)
HSLhsl(48, 70%, 18%)
HSVhsv(48, 82%, 31%)
CMYKcmyk(0%, 16.5%, 82.3%, 69%)
CIE-LABlab(28.36, -0.74, 31.75)
CIE-LCHlch(28.36, 31.76, 91.34°)
OKLaboklab(38.22% -0.0054 0.0698)
OKLCHoklch(38.22% 0.07 94.4)
XYZxyz(5.2522, 5.5907, 1.2178)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F420E #0E1B4F
analogous
#4F210E #4F420E #3B4F0E
triadic
#4F420E #0E4F42 #420E4F
tetradic
#4F420E #0E4F21 #0E1B4F #4F0E3B
square
#4F420E #0E4F21 #0E1B4F #4F0E3B
split-complementary
#4F420E #0E3B4F #210E4F
monochromatic
#1A1605 #1B1705 #4F420E #836D17 #B79920

Accessibility & contrast

On white

9.92
#4F420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4F420E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F420E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F420E#FFFFFF#000000##FFFFFF
##4F420E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4106
Deuteranopia (green-blind)
#4D4511
Tritanopia (blue-blind)
#563C38
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f420e;
/* rgb */ color: rgb(79, 66, 14);
/* oklch */ color: oklch(38.2% 0.070 94.4);
Tailwind
colors: {
  custom: {
    50: '#837651',
    500: '#4f420e',
    950: '#000000',
  },
}
SCSS
$custom: #4f420e;
$custom-light: #837651;
$custom-dark: #000000;
JSON
{
  "hex": "#4f420e",
  "rgb": {
    "r": 79,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 48,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38216,
    "c": 0.07002,
    "h": 94.4
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

primary
#4F420E
secondary
#2F418A
accent
#5FED3B
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4F420E

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

Preview Lab → · Contrast checker → · Palette generator →

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