#5E560F#5E560F

#5E560F is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.8% C 0.087 H 102.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5E560F
RGBrgb(94, 86, 15)
HSLhsl(54, 72%, 21%)
HSVhsv(54, 84%, 37%)
CMYKcmyk(0%, 8.5%, 84%, 63.1%)
CIE-LABlab(36.12, -5.25, 39.10)
CIE-LCHlch(36.12, 39.46, 97.65°)
OKLaboklab(44.75% -0.0189 0.085)
OKLCHoklch(44.75% 0.087 102.5)
XYZxyz(8.0305, 9.0701, 1.7796)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E560F #0F175E
analogous
#5E2F0F #5E560F #3F5E0F
triadic
#5E560F #0F5E56 #560F5E
tetradic
#5E560F #0F5E2F #0F175E #5E0F3F
square
#5E560F #0F5E2F #0F175E #5E0F3F
split-complementary
#5E560F #0F3F5E #2F0F5E
monochromatic
#1A1804 #292607 #5E560F #938617 #C8B720

Accessibility & contrast

On white

7.46
#5E560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5E560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E560F
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E560F#FFFFFF#000000##FFFFFF
##5E560F1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#615615
Tritanopia (blue-blind)
#664F49
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e560f;
/* rgb */ color: rgb(94, 86, 15);
/* oklch */ color: oklch(44.8% 0.087 102.5);
Tailwind
colors: {
  custom: {
    50: '#8f8555',
    500: '#5e560f',
    950: '#000000',
  },
}
SCSS
$custom: #5e560f;
$custom-light: #8f8555;
$custom-dark: #000000;
JSON
{
  "hex": "#5e560f",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 53.924,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.44751,
    "c": 0.08707,
    "h": 102.5
  },
  "luminance": 0.0907
}

Semantic roles & 50–950 ramp

primary
#5E560F
secondary
#313C97
accent
#4BEF39
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E560F

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

Preview Lab → · Contrast checker → · Palette generator →

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