#5D5916#5D5916

#5D5916 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.4% C 0.086 H 105.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5D5916
RGBrgb(93, 89, 22)
HSLhsl(57, 62%, 23%)
HSVhsv(57, 76%, 36%)
CMYKcmyk(0%, 4.3%, 76.3%, 63.5%)
CIE-LABlab(36.99, -7.17, 37.17)
CIE-LCHlch(36.99, 37.86, 100.91°)
OKLaboklab(45.43% -0.0235 0.0824)
OKLCHoklch(45.43% 0.086 105.9)
XYZxyz(8.2317, 9.5301, 2.1648)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5916 #161A5D
analogous
#5D3616 #5D5916 #3D5D16
triadic
#5D5916 #165D59 #59165D
tetradic
#5D5916 #165D36 #161A5D #5D163D
square
#5D5916 #165D36 #161A5D #5D163D
split-complementary
#5D5916 #163D5D #36165D
monochromatic
#191806 #2C2A0A #5D5916 #8E8822 #C0B82D

Accessibility & contrast

On white

7.23
#5D5916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5D5916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5916
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5916#FFFFFF#000000##FFFFFF
##5D59161.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550B
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#64534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d5916;
/* rgb */ color: rgb(93, 89, 22);
/* oklch */ color: oklch(45.4% 0.086 105.9);
Tailwind
colors: {
  custom: {
    50: '#8e8758',
    500: '#5d5916',
    950: '#000000',
  },
}
SCSS
$custom: #5d5916;
$custom-light: #8e8758;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5916",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 22
  },
  "hsl": {
    "h": 56.62,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45431,
    "c": 0.0857,
    "h": 105.9
  },
  "luminance": 0.0953
}

Semantic roles & 50–950 ramp

primary
#5D5916
secondary
#3B4094
accent
#4CE543
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5D5916

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

Preview Lab → · Contrast checker → · Palette generator →

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