#4B560F#4B560F

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

Color values

HEX#4B560F
RGBrgb(75, 86, 15)
HSLhsl(69, 70%, 20%)
HSVhsv(69, 83%, 34%)
CMYKcmyk(12.8%, 0%, 82.6%, 66.3%)
CIE-LABlab(34.37, -14.58, 36.86)
CIE-LCHlch(34.37, 39.64, 111.58°)
OKLaboklab(42.92% -0.0437 0.081)
OKLCHoklch(42.92% 0.092 118.4)
XYZxyz(6.3158, 8.1860, 1.6992)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B560F #1A0F56
analogous
#563E0F #4B560F #27560F
triadic
#4B560F #0F4B56 #560F4B
tetradic
#4B560F #0F563E #1A0F56 #560F27
square
#4B560F #0F563E #1A0F56 #560F27
split-complementary
#4B560F #0F2756 #3E0F56
monochromatic
#171A05 #1E2206 #4B560F #788A18 #A6BE21

Accessibility & contrast

On white

7.96
#4B560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B560F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B560F#FFFFFF#000000##FFFFFF
##4B560F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5101
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#505149
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4b560f;
/* rgb */ color: rgb(75, 86, 15);
/* oklch */ color: oklch(42.9% 0.092 118.4);
Tailwind
colors: {
  custom: {
    50: '#808554',
    500: '#4b560f',
    950: '#000000',
  },
}
SCSS
$custom: #4b560f;
$custom-light: #808554;
$custom-dark: #000000;
JSON
{
  "hex": "#4b560f",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 69.296,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42922,
    "c": 0.09209,
    "h": 118.4
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#4B560F
secondary
#403190
accent
#3BED56
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4B560F

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

Preview Lab → · Contrast checker → · Palette generator →

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