#4F451B#4F451B

#4F451B is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.1% C 0.061 H 96.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4F451B
RGBrgb(79, 69, 27)
HSLhsl(48, 49%, 21%)
HSVhsv(48, 66%, 31%)
CMYKcmyk(0%, 12.7%, 65.8%, 69%)
CIE-LABlab(29.41, -1.73, 26.39)
CIE-LCHlch(29.41, 26.45, 93.76°)
OKLaboklab(39.09% -0.0064 0.061)
OKLCHoklch(39.09% 0.061 96)
XYZxyz(5.5506, 5.9979, 1.9020)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F451B #1B254F
analogous
#4F2B1B #4F451B #3F4F1B
triadic
#4F451B #1B4F45 #451B4F
tetradic
#4F451B #1B4F2B #1B254F #4F1B3F
square
#4F451B #1B4F2B #1B254F #4F1B3F
split-complementary
#4F451B #1B3F4F #2B1B4F
monochromatic
#171408 #211D0B #4F451B #7D6D2B #AA953A

Accessibility & contrast

On white

9.55
#4F451B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4F451B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F451B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F451B#FFFFFF#000000##FFFFFF
##4F451B1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4317
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#55403C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f451b;
/* rgb */ color: rgb(79, 69, 27);
/* oklch */ color: oklch(39.1% 0.061 96.0);
Tailwind
colors: {
  custom: {
    50: '#827859',
    500: '#4f451b',
    950: '#000000',
  },
}
SCSS
$custom: #4f451b;
$custom-light: #827859;
$custom-dark: #000000;
JSON
{
  "hex": "#4f451b",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 27
  },
  "hsl": {
    "h": 48.462,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39087,
    "c": 0.06132,
    "h": 96
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#4F451B
secondary
#414E85
accent
#6AD94F
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #4F451B

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

Preview Lab → · Contrast checker → · Palette generator →

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