#4F511A#4F511A

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

Color values

HEX#4F511A
RGBrgb(79, 81, 26)
HSLhsl(62, 51%, 21%)
HSVhsv(62, 68%, 32%)
CMYKcmyk(2.5%, 0%, 67.9%, 68.2%)
CIE-LABlab(33.18, -9.07, 31.05)
CIE-LCHlch(33.18, 32.35, 106.29°)
OKLaboklab(42.09% -0.0275 0.0707)
OKLCHoklch(42.09% 0.076 111.2)
XYZxyz(6.3535, 7.6219, 2.1136)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F511A #1C1A51
analogous
#51371A #4F511A #33511A
triadic
#4F511A #1A4F51 #511A4F
tetradic
#4F511A #1A5137 #1C1A51 #511A33
square
#4F511A #1A5137 #1C1A51 #511A33
split-complementary
#4F511A #1A3351 #371A51
monochromatic
#171707 #22230B #4F511A #7C7F29 #A9AE38

Accessibility & contrast

On white

8.32
#4F511A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4F511A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F511A
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F511A#FFFFFF#000000##FFFFFF
##4F511A1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D13
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#554C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f511a;
/* rgb */ color: rgb(79, 81, 26);
/* oklch */ color: oklch(42.1% 0.076 111.2);
Tailwind
colors: {
  custom: {
    50: '#828159',
    500: '#4f511a',
    950: '#000000',
  },
}
SCSS
$custom: #4f511a;
$custom-light: #828159;
$custom-dark: #000000;
JSON
{
  "hex": "#4f511a",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 62.182,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42086,
    "c": 0.07585,
    "h": 111.2
  },
  "luminance": 0.07622
}

Semantic roles & 50–950 ramp

primary
#4F511A
secondary
#424087
accent
#4DDB52
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4F511A

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

Preview Lab → · Contrast checker → · Palette generator →

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