#4A560B#4A560B

#4A560B is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 42.8% C 0.095 H 118.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4A560B
RGBrgb(74, 86, 11)
HSLhsl(70, 77%, 19%)
HSVhsv(70, 87%, 34%)
CMYKcmyk(14%, 0%, 87.2%, 66.3%)
CIE-LABlab(34.26, -15.25, 38.09)
CIE-LCHlch(34.26, 41.03, 111.81°)
OKLaboklab(42.81% -0.0458 0.0829)
OKLCHoklch(42.81% 0.095 118.9)
XYZxyz(6.2124, 8.1356, 1.5596)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A560B #170B56
analogous
#563D0B #4A560B #25560B
triadic
#4A560B #0B4A56 #560B4A
tetradic
#4A560B #0B563D #170B56 #560B25
square
#4A560B #0B563D #170B56 #560B25
split-complementary
#4A560B #0B2556 #3D0B56
monochromatic
#171B03 #1B2004 #4A560B #798C12 #A7C319

Accessibility & contrast

On white

7.99
#4A560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4A560B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A560B
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A560B#FFFFFF#000000##FFFFFF
##4A560B1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a560b;
/* rgb */ color: rgb(74, 86, 11);
/* oklch */ color: oklch(42.8% 0.095 118.9);
Tailwind
colors: {
  custom: {
    50: '#7f8552',
    500: '#4a560b',
    950: '#000000',
  },
}
SCSS
$custom: #4a560b;
$custom-light: #7f8552;
$custom-dark: #000000;
JSON
{
  "hex": "#4a560b",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 69.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42811,
    "c": 0.09474,
    "h": 118.9
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

primary
#4A560B
secondary
#3C2B91
accent
#34F453
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A560B

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

Preview Lab → · Contrast checker → · Palette generator →

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