#4F511D#4F511D

#4F511D is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.1% C 0.073 H 111.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4F511D
RGBrgb(79, 81, 29)
HSLhsl(62, 47%, 22%)
HSVhsv(62, 64%, 32%)
CMYKcmyk(2.5%, 0%, 64.2%, 68.2%)
CIE-LABlab(33.21, -8.83, 29.57)
CIE-LCHlch(33.21, 30.86, 106.62°)
OKLaboklab(42.12% -0.0264 0.0681)
OKLCHoklch(42.12% 0.073 111.2)
XYZxyz(6.3888, 7.6360, 2.2995)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F511D #1F1D51
analogous
#51391D #4F511D #35511D
triadic
#4F511D #1D4F51 #511D4F
tetradic
#4F511D #1D5139 #1F1D51 #511D35
square
#4F511D #1D5139 #1F1D51 #511D35
split-complementary
#4F511D #1D3551 #391D51
monochromatic
#161708 #23240D #4F511D #7B7E2D #A7AB3D

Accessibility & contrast

On white

8.31
#4F511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4F511D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F511D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F511D#FFFFFF#000000##FFFFFF
##4F511D1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D17
Deuteranopia (green-blind)
#584F20
Tritanopia (blue-blind)
#544C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f511d;
/* rgb */ color: rgb(79, 81, 29);
/* oklch */ color: oklch(42.1% 0.073 111.2);
Tailwind
colors: {
  custom: {
    50: '#82815b',
    500: '#4f511d',
    950: '#000000',
  },
}
SCSS
$custom: #4f511d;
$custom-light: #82815b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f511d",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 62.308,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4212,
    "c": 0.07299,
    "h": 111.2
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#4F511D
secondary
#464486
accent
#51D756
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4F511D

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

Preview Lab → · Contrast checker → · Palette generator →

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