#5D5F1A#5D5F1A

#5D5F1A is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 46.9% C 0.089 H 111.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5D5F1A
RGBrgb(93, 95, 26)
HSLhsl(62, 57%, 24%)
HSVhsv(62, 73%, 37%)
CMYKcmyk(2.1%, 0%, 72.6%, 62.7%)
CIE-LABlab(38.87, -10.39, 37.34)
CIE-LCHlch(38.87, 38.76, 105.56°)
OKLaboklab(46.95% -0.0321 0.0835)
OKLCHoklch(46.95% 0.09 111)
XYZxyz(8.7931, 10.5864, 2.5573)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5F1A #1C1A5F
analogous
#5F3E1A #5D5F1A #3A5F1A
triadic
#5D5F1A #1A5D5F #5F1A5D
tetradic
#5D5F1A #1A5F3E #1C1A5F #5F1A3A
square
#5D5F1A #1A5F3E #1C1A5F #5F1A3A
split-complementary
#5D5F1A #1A3A5F #3E1A5F
monochromatic
#181807 #2E2F0D #5D5F1A #8C8F27 #BBBF34

Accessibility & contrast

On white

6.74
#5D5F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5D5F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5F1A
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5F1A#FFFFFF#000000##FFFFFF
##5D5F1A1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0F
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#645951
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d5f1a;
/* rgb */ color: rgb(93, 95, 26);
/* oklch */ color: oklch(46.9% 0.089 111.0);
Tailwind
colors: {
  custom: {
    50: '#8d8c5b',
    500: '#5d5f1a',
    950: '#000000',
  },
}
SCSS
$custom: #5d5f1a;
$custom-light: #8d8c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5f1a",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 26
  },
  "hsl": {
    "h": 61.739,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46948,
    "c": 0.0895,
    "h": 111
  },
  "luminance": 0.10586
}

Semantic roles & 50–950 ramp

primary
#5D5F1A
secondary
#424095
accent
#48E04C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D5F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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