#4B511C#4B511C

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

Color values

HEX#4B511C
RGBrgb(75, 81, 28)
HSLhsl(67, 49%, 21%)
HSVhsv(67, 65%, 32%)
CMYKcmyk(7.4%, 0%, 65.4%, 68.2%)
CIE-LABlab(32.84, -10.85, 29.57)
CIE-LCHlch(32.84, 31.50, 110.14°)
OKLaboklab(41.73% -0.0319 0.068)
OKLCHoklch(41.73% 0.075 115.2)
XYZxyz(6.0538, 7.4646, 2.2203)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B511C #221C51
analogous
#513D1C #4B511C #31511C
triadic
#4B511C #1C4B51 #511C4B
tetradic
#4B511C #1C513D #221C51 #511C31
square
#4B511C #1C513D #221C51 #511C31
split-complementary
#4B511C #1C3151 #3D1C51
monochromatic
#151708 #21240C #4B511C #757E2C #9FAC3B

Accessibility & contrast

On white

8.42
#4B511C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B511C
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B511C#FFFFFF#000000##FFFFFF
##4B511C1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D16
Deuteranopia (green-blind)
#564E1F
Tritanopia (blue-blind)
#504C46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b511c;
/* rgb */ color: rgb(75, 81, 28);
/* oklch */ color: oklch(41.7% 0.075 115.2);
Tailwind
colors: {
  custom: {
    50: '#7f815b',
    500: '#4b511c',
    950: '#000000',
  },
}
SCSS
$custom: #4b511c;
$custom-light: #7f815b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b511c",
  "rgb": {
    "r": 75,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 66.792,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41731,
    "c": 0.07512,
    "h": 115.2
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#4B511C
secondary
#4A4287
accent
#50D85F
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4B511C

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

Preview Lab → · Contrast checker → · Palette generator →

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