#5D5F18#5D5F18

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

Color values

HEX#5D5F18
RGBrgb(93, 95, 24)
HSLhsl(62, 60%, 23%)
HSVhsv(62, 75%, 37%)
CMYKcmyk(2.1%, 0%, 74.7%, 62.7%)
CIE-LABlab(38.86, -10.51, 38.17)
CIE-LCHlch(38.86, 39.59, 105.40°)
OKLaboklab(46.93% -0.0327 0.0849)
OKLCHoklch(46.93% 0.091 111)
XYZxyz(8.7716, 10.5777, 2.4436)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5F18 #1A185F
analogous
#5F3D18 #5D5F18 #395F18
triadic
#5D5F18 #185D5F #5F185D
tetradic
#5D5F18 #185F3D #1A185F #5F1839
square
#5D5F18 #185F3D #1A185F #5F1839
split-complementary
#5D5F18 #18395F #3D185F
monochromatic
#181806 #2D2E0C #5D5F18 #8D9024 #BDC131

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5F18#FFFFFF#000000##FFFFFF
##5D5F181.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)
#675A0C
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#645951
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d5f18;
/* rgb */ color: rgb(93, 95, 24);
/* oklch */ color: oklch(46.9% 0.091 111.0);
Tailwind
colors: {
  custom: {
    50: '#8d8c5a',
    500: '#5d5f18',
    950: '#000000',
  },
}
SCSS
$custom: #5d5f18;
$custom-light: #8d8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5f18",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 61.69,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46932,
    "c": 0.091,
    "h": 111
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#5D5F18
secondary
#403D95
accent
#45E349
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D5F18

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

Preview Lab → · Contrast checker → · Palette generator →

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