#5B5913#5B5913

#5B5913 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.2% C 0.088 H 107.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5B5913
RGBrgb(91, 89, 19)
HSLhsl(58, 65%, 22%)
HSVhsv(58, 79%, 36%)
CMYKcmyk(0%, 2.2%, 79.1%, 64.3%)
CIE-LABlab(36.77, -8.31, 38.12)
CIE-LCHlch(36.77, 39.01, 102.30°)
OKLaboklab(45.21% -0.0269 0.0839)
OKLCHoklch(45.21% 0.088 107.8)
XYZxyz(8.0046, 9.4162, 2.0118)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5913 #13155B
analogous
#5B3513 #5B5913 #395B13
triadic
#5B5913 #135B59 #59135B
tetradic
#5B5913 #135B35 #13155B #5B1339
square
#5B5913 #135B35 #13155B #5B1339
split-complementary
#5B5913 #13395B #35135B
monochromatic
#191905 #282708 #5B5913 #8E8B1E #C0BC28

Accessibility & contrast

On white

7.28
#5B5913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5B5913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5913
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5913#FFFFFF#000000##FFFFFF
##5B59131.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615505
Deuteranopia (green-blind)
#625818
Tritanopia (blue-blind)
#62534C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5b5913;
/* rgb */ color: rgb(91, 89, 19);
/* oklch */ color: oklch(45.2% 0.088 107.8);
Tailwind
colors: {
  custom: {
    50: '#8c8757',
    500: '#5b5913',
    950: '#000000',
  },
}
SCSS
$custom: #5b5913;
$custom-light: #8c8757;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5913",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 19
  },
  "hsl": {
    "h": 58.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45209,
    "c": 0.08809,
    "h": 107.8
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#5B5913
secondary
#373993
accent
#44E83F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5913

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

Preview Lab → · Contrast checker → · Palette generator →

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