#4B560B#4B560B

#4B560B is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 42.9% C 0.094 H 118.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4B560B
RGBrgb(75, 86, 11)
HSLhsl(69, 77%, 19%)
HSVhsv(69, 87%, 34%)
CMYKcmyk(12.8%, 0%, 87.2%, 66.3%)
CIE-LABlab(34.35, -14.77, 38.19)
CIE-LCHlch(34.35, 40.95, 111.14°)
OKLaboklab(42.9% -0.0446 0.0831)
OKLCHoklch(42.9% 0.094 118.2)
XYZxyz(6.2900, 8.1757, 1.5632)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B560B #160B56
analogous
#563C0B #4B560B #26560B
triadic
#4B560B #0B4B56 #560B4B
tetradic
#4B560B #0B563C #160B56 #560B26
square
#4B560B #0B563C #160B56 #560B26
split-complementary
#4B560B #0B2656 #3C0B56
monochromatic
#181B03 #1C2004 #4B560B #7A8C12 #AAC319

Accessibility & contrast

On white

7.97
#4B560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4B560B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B560B
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B560B#FFFFFF#000000##FFFFFF
##4B560B1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5100
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#505148
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4b560b;
/* rgb */ color: rgb(75, 86, 11);
/* oklch */ color: oklch(42.9% 0.094 118.2);
Tailwind
colors: {
  custom: {
    50: '#808552',
    500: '#4b560b',
    950: '#000000',
  },
}
SCSS
$custom: #4b560b;
$custom-light: #808552;
$custom-dark: #000000;
JSON
{
  "hex": "#4b560b",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 68.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.0943,
    "h": 118.2
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#4B560B
secondary
#3A2B91
accent
#34F450
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4B560B

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

Preview Lab → · Contrast checker → · Palette generator →

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