#5B5318#5B5318

#5B5318 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.8% C 0.078 H 101.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#5B5318
RGBrgb(91, 83, 24)
HSLhsl(53, 58%, 23%)
HSVhsv(53, 74%, 36%)
CMYKcmyk(0%, 8.8%, 73.6%, 64.3%)
CIE-LABlab(34.96, -4.49, 34.21)
CIE-LCHlch(34.96, 34.50, 97.48°)
OKLaboklab(43.78% -0.0156 0.0766)
OKLCHoklch(43.78% 0.078 101.5)
XYZxyz(7.5728, 8.4769, 2.1013)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5318 #18205B
analogous
#5B3218 #5B5318 #415B18
triadic
#5B5318 #185B53 #53185B
tetradic
#5B5318 #185B32 #18205B #5B1841
square
#5B5318 #185B32 #18205B #5B1841
split-complementary
#5B5318 #18415B #32185B
monochromatic
#181606 #2B270B #5B5318 #8B7F25 #BCAB32

Accessibility & contrast

On white

7.79
#5B5318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5B5318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5318
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5318#FFFFFF#000000##FFFFFF
##5B53181.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5010
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#624D47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5b5318;
/* rgb */ color: rgb(91, 83, 24);
/* oklch */ color: oklch(43.8% 0.078 101.5);
Tailwind
colors: {
  custom: {
    50: '#8c8359',
    500: '#5b5318',
    950: '#000000',
  },
}
SCSS
$custom: #5b5318;
$custom-light: #8c8359;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5318",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 24
  },
  "hsl": {
    "h": 52.836,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43775,
    "c": 0.07821,
    "h": 101.5
  },
  "luminance": 0.08477
}

Semantic roles & 50–950 ramp

primary
#5B5318
secondary
#3D4792
accent
#59E146
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5B5318

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

Preview Lab → · Contrast checker → · Palette generator →

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