#4B4811#4B4811

#4B4811 is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.3% C 0.074 H 106.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#4B4811
RGBrgb(75, 72, 17)
HSLhsl(57, 63%, 18%)
HSVhsv(57, 77%, 29%)
CMYKcmyk(0%, 4%, 77.3%, 70.6%)
CIE-LABlab(29.84, -6.32, 31.73)
CIE-LCHlch(29.84, 32.35, 101.27°)
OKLaboklab(39.3% -0.0205 0.0706)
OKLCHoklch(39.3% 0.074 106.2)
XYZxyz(5.3204, 6.1712, 1.4411)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4811 #11144B
analogous
#4B2B11 #4B4811 #314B11
triadic
#4B4811 #114B48 #48114B
tetradic
#4B4811 #114B2B #11144B #4B1131
square
#4B4811 #114B2B #11144B #4B1131
split-complementary
#4B4811 #11314B #2B114B
monochromatic
#191806 #191806 #4B4811 #7D781C #AFA828

Accessibility & contrast

On white

9.40
#4B4811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4B4811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4811
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4811#FFFFFF#000000##FFFFFF
##4B48111.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4508
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#51433D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b4811;
/* rgb */ color: rgb(75, 72, 17);
/* oklch */ color: oklch(39.3% 0.074 106.2);
Tailwind
colors: {
  custom: {
    50: '#807a53',
    500: '#4b4811',
    950: '#000000',
  },
}
SCSS
$custom: #4b4811;
$custom-light: #807a53;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4811",
  "rgb": {
    "r": 75,
    "g": 72,
    "b": 17
  },
  "hsl": {
    "h": 56.897,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.39301,
    "c": 0.07353,
    "h": 106.2
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#4B4811
secondary
#333884
accent
#4AE642
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4B4811

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

Preview Lab → · Contrast checker → · Palette generator →

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