#4B540D#4B540D

#4B540D is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.4% C 0.091 H 116.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4B540D
RGBrgb(75, 84, 13)
HSLhsl(68, 73%, 19%)
HSVhsv(68, 85%, 33%)
CMYKcmyk(10.7%, 0%, 84.5%, 67.1%)
CIE-LABlab(33.70, -13.56, 36.96)
CIE-LCHlch(33.70, 39.37, 110.14°)
OKLaboklab(42.38% -0.0411 0.0809)
OKLCHoklch(42.38% 0.091 116.9)
XYZxyz(6.1448, 7.8656, 1.5752)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B540D #160D54
analogous
#543A0D #4B540D #28540D
triadic
#4B540D #0D4B54 #540D4B
tetradic
#4B540D #0D543A #160D54 #540D28
square
#4B540D #0D543A #160D54 #540D28
split-complementary
#4B540D #0D2854 #3A0D54
monochromatic
#181A04 #1C1F05 #4B540D #7A8915 #AABE1D

Accessibility & contrast

On white

8.16
#4B540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4B540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B540D
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B540D#FFFFFF#000000##FFFFFF
##4B540D1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F00
Deuteranopia (green-blind)
#5A5014
Tritanopia (blue-blind)
#504F47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4b540d;
/* rgb */ color: rgb(75, 84, 13);
/* oklch */ color: oklch(42.4% 0.091 116.9);
Tailwind
colors: {
  custom: {
    50: '#808453',
    500: '#4b540d',
    950: '#000000',
  },
}
SCSS
$custom: #4b540d;
$custom-light: #808453;
$custom-dark: #000000;
JSON
{
  "hex": "#4b540d",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 67.606,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42383,
    "c": 0.09071,
    "h": 116.9
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#4B540D
secondary
#3A2E8F
accent
#38F04F
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B540D

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

Preview Lab → · Contrast checker → · Palette generator →

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