#5B5919#5B5919

#5B5919 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.3% C 0.084 H 107.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5B5919
RGBrgb(91, 89, 25)
HSLhsl(58, 57%, 23%)
HSVhsv(58, 73%, 36%)
CMYKcmyk(0%, 2.2%, 72.5%, 64.3%)
CIE-LABlab(36.82, -7.97, 35.64)
CIE-LCHlch(36.82, 36.52, 102.60°)
OKLaboklab(45.26% -0.0253 0.0799)
OKLCHoklch(45.26% 0.084 107.6)
XYZxyz(8.0625, 9.4394, 2.3168)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5919 #191B5B
analogous
#5B3819 #5B5919 #3C5B19
triadic
#5B5919 #195B59 #59195B
tetradic
#5B5919 #195B38 #191B5B #5B193C
square
#5B5919 #195B38 #191B5B #5B193C
split-complementary
#5B5919 #193C5B #38195B
monochromatic
#181707 #2B2A0C #5B5919 #8B8826 #BBB733

Accessibility & contrast

On white

7.27
#5B5919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5B5919 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5919
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5919#FFFFFF#000000##FFFFFF
##5B59191.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615510
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#62534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5b5919;
/* rgb */ color: rgb(91, 89, 25);
/* oklch */ color: oklch(45.3% 0.084 107.6);
Tailwind
colors: {
  custom: {
    50: '#8c875a',
    500: '#5b5919',
    950: '#000000',
  },
}
SCSS
$custom: #5b5919;
$custom-light: #8c875a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5919",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 25
  },
  "hsl": {
    "h": 58.182,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45258,
    "c": 0.08376,
    "h": 107.6
  },
  "luminance": 0.09439
}

Semantic roles & 50–950 ramp

primary
#5B5919
secondary
#3F4191
accent
#4CE048
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5B5919

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

Preview Lab → · Contrast checker → · Palette generator →

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