#4B501F#4B501F

#4B501F is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.5% C 0.071 H 114.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4B501F
RGBrgb(75, 80, 31)
HSLhsl(66, 44%, 22%)
HSVhsv(66, 61%, 31%)
CMYKcmyk(6.2%, 0%, 61.2%, 68.6%)
CIE-LABlab(32.55, -9.99, 27.68)
CIE-LCHlch(32.55, 29.43, 109.85°)
OKLaboklab(41.51% -0.0292 0.0644)
OKLCHoklch(41.51% 0.071 114.4)
XYZxyz(6.0178, 7.3322, 2.3943)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B501F #241F50
analogous
#503D1F #4B501F #33501F
triadic
#4B501F #1F4B50 #501F4B
tetradic
#4B501F #1F503D #241F50 #501F33
square
#4B501F #1F503D #241F50 #501F33
split-complementary
#4B501F #1F3350 #3D1F50
monochromatic
#151609 #22240E #4B501F #747C30 #9EA841

Accessibility & contrast

On white

8.51
#4B501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4B501F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B501F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B501F#FFFFFF#000000##FFFFFF
##4B501F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C1A
Deuteranopia (green-blind)
#554D22
Tritanopia (blue-blind)
#504B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b501f;
/* rgb */ color: rgb(75, 80, 31);
/* oklch */ color: oklch(41.5% 0.071 114.4);
Tailwind
colors: {
  custom: {
    50: '#7f815d',
    500: '#4b501f',
    950: '#000000',
  },
}
SCSS
$custom: #4b501f;
$custom-light: #7f815d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b501f",
  "rgb": {
    "r": 75,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 66.122,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41509,
    "c": 0.07068,
    "h": 114.4
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#4B501F
secondary
#4C4685
accent
#54D461
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4B501F

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

Preview Lab → · Contrast checker → · Palette generator →

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