#4B511A#4B511A

#4B511A is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.7% C 0.077 H 115.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4B511A
RGBrgb(75, 81, 26)
HSLhsl(67, 51%, 21%)
HSVhsv(67, 68%, 32%)
CMYKcmyk(7.4%, 0%, 67.9%, 68.2%)
CIE-LABlab(32.82, -11.01, 30.55)
CIE-LCHlch(32.82, 32.48, 109.82°)
OKLaboklab(41.71% -0.0326 0.0698)
OKLCHoklch(41.71% 0.077 115.1)
XYZxyz(6.0307, 7.4554, 2.0984)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B511A #201A51
analogous
#513B1A #4B511A #2F511A
triadic
#4B511A #1A4B51 #511A4B
tetradic
#4B511A #1A513B #201A51 #511A2F
square
#4B511A #1A513B #201A51 #511A2F
split-complementary
#4B511A #1A2F51 #3B1A51
monochromatic
#151707 #20230B #4B511A #767F29 #A1AE38

Accessibility & contrast

On white

8.43
#4B511A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4B511A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B511A
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B511A#FFFFFF#000000##FFFFFF
##4B511A1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D13
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#504C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b511a;
/* rgb */ color: rgb(75, 81, 26);
/* oklch */ color: oklch(41.7% 0.077 115.1);
Tailwind
colors: {
  custom: {
    50: '#7f8159',
    500: '#4b511a',
    950: '#000000',
  },
}
SCSS
$custom: #4b511a;
$custom-light: #7f8159;
$custom-dark: #000000;
JSON
{
  "hex": "#4b511a",
  "rgb": {
    "r": 75,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 66.545,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.07703,
    "h": 115.1
  },
  "luminance": 0.07455
}

Semantic roles & 50–950 ramp

primary
#4B511A
secondary
#474087
accent
#4DDB5C
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4B511A

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

Preview Lab → · Contrast checker → · Palette generator →

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