#5D5818#5D5818

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

Color values

HEX#5D5818
RGBrgb(93, 88, 24)
HSLhsl(56, 59%, 23%)
HSVhsv(56, 74%, 36%)
CMYKcmyk(0%, 5.4%, 74.2%, 63.5%)
CIE-LABlab(36.69, -6.47, 36.02)
CIE-LCHlch(36.69, 36.60, 100.18°)
OKLaboklab(45.2% -0.0213 0.0804)
OKLCHoklch(45.2% 0.083 104.8)
XYZxyz(8.1691, 9.3729, 2.2428)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5818 #181D5D
analogous
#5D3518 #5D5818 #3F5D18
triadic
#5D5818 #185D58 #58185D
tetradic
#5D5818 #185D35 #181D5D #5D183F
square
#5D5818 #185D35 #181D5D #5D183F
split-complementary
#5D5818 #183F5D #35185D
monochromatic
#181706 #2C2A0B #5D5818 #8E8625 #BEB431

Accessibility & contrast

On white

7.31
#5D5818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5D5818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5818
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5818#FFFFFF#000000##FFFFFF
##5D58181.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550E
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#64524B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d5818;
/* rgb */ color: rgb(93, 88, 24);
/* oklch */ color: oklch(45.2% 0.083 104.8);
Tailwind
colors: {
  custom: {
    50: '#8d8659',
    500: '#5d5818',
    950: '#000000',
  },
}
SCSS
$custom: #5d5818;
$custom-light: #8d8659;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5818",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 55.652,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45203,
    "c": 0.08317,
    "h": 104.8
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#5D5818
secondary
#3D4493
accent
#51E246
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D5818

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

Preview Lab → · Contrast checker → · Palette generator →

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