#4F511B#4F511B

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

Color values

HEX#4F511B
RGBrgb(79, 81, 27)
HSLhsl(62, 50%, 21%)
HSVhsv(62, 67%, 32%)
CMYKcmyk(2.5%, 0%, 66.7%, 68.2%)
CIE-LABlab(33.19, -8.99, 30.56)
CIE-LCHlch(33.19, 31.86, 106.40°)
OKLaboklab(42.1% -0.0271 0.0698)
OKLCHoklch(42.1% 0.075 111.2)
XYZxyz(6.3649, 7.6264, 2.1735)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F511B #1D1B51
analogous
#51381B #4F511B #34511B
triadic
#4F511B #1B4F51 #511B4F
tetradic
#4F511B #1B5138 #1D1B51 #511B34
square
#4F511B #1B5138 #1D1B51 #511B34
split-complementary
#4F511B #1B3451 #381B51
monochromatic
#161708 #22230C #4F511B #7C7F2A #A9AD3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F511B#FFFFFF#000000##FFFFFF
##4F511B1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f511b;
/* rgb */ color: rgb(79, 81, 27);
/* oklch */ color: oklch(42.1% 0.075 111.2);
Tailwind
colors: {
  custom: {
    50: '#82815a',
    500: '#4f511b',
    950: '#000000',
  },
}
SCSS
$custom: #4f511b;
$custom-light: #82815a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f511b",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 62.222,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42097,
    "c": 0.07492,
    "h": 111.2
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#4F511B
secondary
#444187
accent
#4EDA53
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4F511B

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

Preview Lab → · Contrast checker → · Palette generator →

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