#4B510D#4B510D

#4B510D is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.6% C 0.087 H 114.7°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4B510D
RGBrgb(75, 81, 13)
HSLhsl(65, 72%, 18%)
HSVhsv(65, 84%, 32%)
CMYKcmyk(7.4%, 0%, 84%, 68.2%)
CIE-LABlab(32.72, -11.85, 36.07)
CIE-LCHlch(32.72, 37.96, 108.18°)
OKLaboklab(41.6% -0.0364 0.079)
OKLCHoklch(41.6% 0.087 114.7)
XYZxyz(5.9169, 7.4099, 1.4992)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B510D #130D51
analogous
#51350D #4B510D #29510D
triadic
#4B510D #0D4B51 #510D4B
tetradic
#4B510D #0D5135 #130D51 #510D29
square
#4B510D #0D5135 #130D51 #510D29
split-complementary
#4B510D #0D2951 #350D51
monochromatic
#181A04 #1A1C05 #4B510D #7C8615 #ADBA1E

Accessibility & contrast

On white

8.46
#4B510D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4B510D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B510D
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B510D#FFFFFF#000000##FFFFFF
##4B510D1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584C00
Deuteranopia (green-blind)
#574E13
Tritanopia (blue-blind)
#514C44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b510d;
/* rgb */ color: rgb(75, 81, 13);
/* oklch */ color: oklch(41.6% 0.087 114.7);
Tailwind
colors: {
  custom: {
    50: '#808152',
    500: '#4b510d',
    950: '#000000',
  },
}
SCSS
$custom: #4b510d;
$custom-light: #808152;
$custom-dark: #000000;
JSON
{
  "hex": "#4b510d",
  "rgb": {
    "r": 75,
    "g": 81,
    "b": 13
  },
  "hsl": {
    "h": 65.294,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.41597,
    "c": 0.08694,
    "h": 114.7
  },
  "luminance": 0.0741
}

Semantic roles & 50–950 ramp

primary
#4B510D
secondary
#362E8C
accent
#39EF49
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4B510D

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

Preview Lab → · Contrast checker → · Palette generator →

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