#4F420F#4F420F

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

Color values

HEX#4F420F
RGBrgb(79, 66, 15)
HSLhsl(48, 68%, 18%)
HSVhsv(48, 81%, 31%)
CMYKcmyk(0%, 16.5%, 81%, 69%)
CIE-LABlab(28.36, -0.69, 31.32)
CIE-LCHlch(28.36, 31.32, 91.26°)
OKLaboklab(38.22% -0.0051 0.0691)
OKLCHoklch(38.22% 0.069 94.2)
XYZxyz(5.2592, 5.5935, 1.2545)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F420F #0F1C4F
analogous
#4F220F #4F420F #3C4F0F
triadic
#4F420F #0F4F42 #420F4F
tetradic
#4F420F #0F4F22 #0F1C4F #4F0F3C
square
#4F420F #0F4F22 #0F1C4F #4F0F3C
split-complementary
#4F420F #0F3C4F #220F4F
monochromatic
#1A1505 #1C1705 #4F420F #826D19 #B69823

Accessibility & contrast

On white

9.91
#4F420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F420F
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F420F#FFFFFF#000000##FFFFFF
##4F420F1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f420f;
/* rgb */ color: rgb(79, 66, 15);
/* oklch */ color: oklch(38.2% 0.069 94.2);
Tailwind
colors: {
  custom: {
    50: '#837651',
    500: '#4f420f',
    950: '#000000',
  },
}
SCSS
$custom: #4f420f;
$custom-light: #837651;
$custom-dark: #000000;
JSON
{
  "hex": "#4f420f",
  "rgb": {
    "r": 79,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 47.813,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38224,
    "c": 0.06932,
    "h": 94.2
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#4F420F
secondary
#314389
accent
#60EB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4F420F

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

Preview Lab → · Contrast checker → · Palette generator →

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