#4F431A#4F431A

#4F431A is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.6% C 0.061 H 93.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#4F431A
RGBrgb(79, 67, 26)
HSLhsl(46, 50%, 21%)
HSVhsv(46, 67%, 31%)
CMYKcmyk(0%, 15.2%, 67.1%, 69%)
CIE-LABlab(28.78, -0.57, 26.23)
CIE-LCHlch(28.78, 26.24, 91.24°)
OKLaboklab(38.58% -0.0032 0.0605)
OKLCHoklch(38.58% 0.061 93)
XYZxyz(5.4183, 5.7514, 1.8018)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F431A #1A264F
analogous
#4F281A #4F431A #404F1A
triadic
#4F431A #1A4F43 #431A4F
tetradic
#4F431A #1A4F28 #1A264F #4F1A40
square
#4F431A #1A4F28 #1A264F #4F1A40
split-complementary
#4F431A #1A404F #281A4F
monochromatic
#171408 #211C0B #4F431A #7D6A29 #AB9138

Accessibility & contrast

On white

9.77
#4F431A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4F431A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F431A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F431A#FFFFFF#000000##FFFFFF
##4F431A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4216
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#563E3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f431a;
/* rgb */ color: rgb(79, 67, 26);
/* oklch */ color: oklch(38.6% 0.061 93.0);
Tailwind
colors: {
  custom: {
    50: '#827658',
    500: '#4f431a',
    950: '#000000',
  },
}
SCSS
$custom: #4f431a;
$custom-light: #827658;
$custom-dark: #000000;
JSON
{
  "hex": "#4f431a",
  "rgb": {
    "r": 79,
    "g": 67,
    "b": 26
  },
  "hsl": {
    "h": 46.415,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38584,
    "c": 0.06057,
    "h": 93
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#4F431A
secondary
#404F85
accent
#6EDA4E
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #4F431A

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

Preview Lab → · Contrast checker → · Palette generator →

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