#5A560F#5A560F

#5A560F is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.3% C 0.088 H 106.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5A560F
RGBrgb(90, 86, 15)
HSLhsl(57, 71%, 21%)
HSVhsv(57, 83%, 35%)
CMYKcmyk(0%, 4.4%, 83.3%, 64.7%)
CIE-LABlab(35.72, -7.24, 38.60)
CIE-LCHlch(35.72, 39.27, 100.62°)
OKLaboklab(44.34% -0.0243 0.0841)
OKLCHoklch(44.34% 0.088 106.1)
XYZxyz(7.6308, 8.8640, 1.7608)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A560F #0F135A
analogous
#5A300F #5A560F #385A0F
triadic
#5A560F #0F5A56 #560F5A
tetradic
#5A560F #0F5A30 #0F135A #5A0F38
square
#5A560F #0F5A30 #0F135A #5A0F38
split-complementary
#5A560F #0F385A #300F5A
monochromatic
#1A1904 #262406 #5A560F #8E8818 #C3BA20

Accessibility & contrast

On white

7.57
#5A560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5A560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A560F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A560F#FFFFFF#000000##FFFFFF
##5A560F1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#605515
Tritanopia (blue-blind)
#615049
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5a560f;
/* rgb */ color: rgb(90, 86, 15);
/* oklch */ color: oklch(44.3% 0.088 106.1);
Tailwind
colors: {
  custom: {
    50: '#8c8554',
    500: '#5a560f',
    950: '#000000',
  },
}
SCSS
$custom: #5a560f;
$custom-light: #8c8554;
$custom-dark: #000000;
JSON
{
  "hex": "#5a560f",
  "rgb": {
    "r": 90,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 56.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.44339,
    "c": 0.08753,
    "h": 106.1
  },
  "luminance": 0.08864
}

Semantic roles & 50–950 ramp

primary
#5A560F
secondary
#313694
accent
#43EE3A
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A560F

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

Preview Lab → · Contrast checker → · Palette generator →

#5A560F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva