#4B540E#4B540E

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

Color values

HEX#4B540E
RGBrgb(75, 84, 14)
HSLhsl(68, 71%, 19%)
HSVhsv(68, 83%, 33%)
CMYKcmyk(10.7%, 0%, 83.3%, 67.1%)
CIE-LABlab(33.71, -13.51, 36.61)
CIE-LCHlch(33.71, 39.02, 110.25°)
OKLaboklab(42.39% -0.0409 0.0803)
OKLCHoklch(42.39% 0.09 117)
XYZxyz(6.1514, 7.8683, 1.6101)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B540E #170E54
analogous
#543A0E #4B540E #28540E
triadic
#4B540E #0E4B54 #540E4B
tetradic
#4B540E #0E543A #170E54 #540E28
square
#4B540E #0E543A #170E54 #540E28
split-complementary
#4B540E #0E2854 #3A0E54
monochromatic
#171A04 #1C2005 #4B540E #7A8817 #A9BD1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B540E#FFFFFF#000000##FFFFFF
##4B540E1.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: #4b540e;
/* rgb */ color: rgb(75, 84, 14);
/* oklch */ color: oklch(42.4% 0.090 117.0);
Tailwind
colors: {
  custom: {
    50: '#808453',
    500: '#4b540e',
    950: '#000000',
  },
}
SCSS
$custom: #4b540e;
$custom-light: #808453;
$custom-dark: #000000;
JSON
{
  "hex": "#4b540e",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 67.714,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.42389,
    "c": 0.09012,
    "h": 117
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#4B540E
secondary
#3C2F8E
accent
#3AEE51
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B540E

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

Preview Lab → · Contrast checker → · Palette generator →

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