#4F511C#4F511C

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

Color values

HEX#4F511C
RGBrgb(79, 81, 28)
HSLhsl(62, 49%, 21%)
HSVhsv(62, 65%, 32%)
CMYKcmyk(2.5%, 0%, 65.4%, 68.2%)
CIE-LABlab(33.20, -8.91, 30.07)
CIE-LCHlch(33.20, 31.36, 106.51°)
OKLaboklab(42.11% -0.0268 0.069)
OKLCHoklch(42.11% 0.074 111.2)
XYZxyz(6.3767, 7.6311, 2.2354)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F511C #1E1C51
analogous
#51391C #4F511C #35511C
triadic
#4F511C #1C4F51 #511C4F
tetradic
#4F511C #1C5139 #1E1C51 #511C35
square
#4F511C #1C5139 #1E1C51 #511C35
split-complementary
#4F511C #1C3551 #391C51
monochromatic
#161708 #23240C #4F511C #7B7E2C #A8AC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F511C#FFFFFF#000000##FFFFFF
##4F511C1.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)
#574D16
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#554C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f511c;
/* rgb */ color: rgb(79, 81, 28);
/* oklch */ color: oklch(42.1% 0.074 111.2);
Tailwind
colors: {
  custom: {
    50: '#82815b',
    500: '#4f511c',
    950: '#000000',
  },
}
SCSS
$custom: #4f511c;
$custom-light: #82815b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f511c",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 62.264,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42108,
    "c": 0.07397,
    "h": 111.2
  },
  "luminance": 0.07631
}

Semantic roles & 50–950 ramp

primary
#4F511C
secondary
#454287
accent
#50D855
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4F511C

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

Preview Lab → · Contrast checker → · Palette generator →

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