#5D5915#5D5915

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

Color values

HEX#5D5915
RGBrgb(93, 89, 21)
HSLhsl(57, 63%, 22%)
HSVhsv(57, 77%, 36%)
CMYKcmyk(0%, 4.3%, 77.4%, 63.5%)
CIE-LABlab(36.98, -7.22, 37.58)
CIE-LCHlch(36.98, 38.27, 100.88°)
OKLaboklab(45.42% -0.0238 0.0831)
OKLCHoklch(45.42% 0.086 106)
XYZxyz(8.2223, 9.5264, 2.1150)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5915 #15195D
analogous
#5D3515 #5D5915 #3D5D15
triadic
#5D5915 #155D59 #59155D
tetradic
#5D5915 #155D35 #15195D #5D153D
square
#5D5915 #155D35 #15195D #5D153D
split-complementary
#5D5915 #153D5D #35155D
monochromatic
#191806 #2B290A #5D5915 #8F8920 #C1B92C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5915#FFFFFF#000000##FFFFFF
##5D59151.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)
#615509
Deuteranopia (green-blind)
#63581A
Tritanopia (blue-blind)
#64534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d5915;
/* rgb */ color: rgb(93, 89, 21);
/* oklch */ color: oklch(45.4% 0.086 106.0);
Tailwind
colors: {
  custom: {
    50: '#8e8758',
    500: '#5d5915',
    950: '#000000',
  },
}
SCSS
$custom: #5d5915;
$custom-light: #8e8758;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5915",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 56.667,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45423,
    "c": 0.08641,
    "h": 106
  },
  "luminance": 0.09526
}

Semantic roles & 50–950 ramp

primary
#5D5915
secondary
#393E94
accent
#4BE642
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5D5915

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

Preview Lab → · Contrast checker → · Palette generator →

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