#5D5814#5D5814

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

Color values

HEX#5D5814
RGBrgb(93, 88, 20)
HSLhsl(56, 65%, 22%)
HSVhsv(56, 78%, 36%)
CMYKcmyk(0%, 5.4%, 78.5%, 63.5%)
CIE-LABlab(36.66, -6.69, 37.68)
CIE-LCHlch(36.66, 38.27, 100.07°)
OKLaboklab(45.17% -0.0224 0.0831)
OKLCHoklch(45.17% 0.086 105.1)
XYZxyz(8.1305, 9.3574, 2.0396)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5814 #14195D
analogous
#5D3314 #5D5814 #3E5D14
triadic
#5D5814 #145D58 #58145D
tetradic
#5D5814 #145D33 #14195D #5D143E
square
#5D5814 #145D33 #14195D #5D143E
split-complementary
#5D5814 #143E5D #33145D
monochromatic
#191805 #2B2809 #5D5814 #8F881F #C2B72A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5814#FFFFFF#000000##FFFFFF
##5D58141.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)
#605507
Deuteranopia (green-blind)
#625819
Tritanopia (blue-blind)
#64514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d5814;
/* rgb */ color: rgb(93, 88, 20);
/* oklch */ color: oklch(45.2% 0.086 105.1);
Tailwind
colors: {
  custom: {
    50: '#8e8657',
    500: '#5d5814',
    950: '#000000',
  },
}
SCSS
$custom: #5d5814;
$custom-light: #8e8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5814",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 55.89,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4517,
    "c": 0.08605,
    "h": 105.1
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#5D5814
secondary
#383E95
accent
#4CE840
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5D5814

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

Preview Lab → · Contrast checker → · Palette generator →

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