#5D5D18#5D5D18

#5D5D18 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.4% C 0.089 H 109.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5D5D18
RGBrgb(93, 93, 24)
HSLhsl(60, 59%, 23%)
HSVhsv(60, 74%, 36%)
CMYKcmyk(0%, 0%, 74.2%, 63.5%)
CIE-LABlab(38.24, -9.37, 37.56)
CIE-LCHlch(38.24, 38.71, 104.01°)
OKLaboklab(46.43% -0.0295 0.0836)
OKLCHoklch(46.43% 0.089 109.4)
XYZxyz(8.5937, 10.2221, 2.3843)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5D18 #18185D
analogous
#5D3A18 #5D5D18 #3A5D18
triadic
#5D5D18 #185D5D #5D185D
tetradic
#5D5D18 #185D3A #18185D #5D183A
square
#5D5D18 #185D3A #18185D #5D183A
split-complementary
#5D5D18 #183A5D #3A185D
monochromatic
#181806 #2C2C0B #5D5D18 #8E8E25 #BEBE31

Accessibility & contrast

On white

6.90
#5D5D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5D5D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5D18
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5D18#FFFFFF#000000##FFFFFF
##5D5D181.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590D
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#64574F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d5d18;
/* rgb */ color: rgb(93, 93, 24);
/* oklch */ color: oklch(46.4% 0.089 109.4);
Tailwind
colors: {
  custom: {
    50: '#8d8a5a',
    500: '#5d5d18',
    950: '#000000',
  },
}
SCSS
$custom: #5d5d18;
$custom-light: #8d8a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5d18",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46435,
    "c": 0.08867,
    "h": 109.4
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#5D5D18
secondary
#3D3D93
accent
#46E246
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D5D18

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

Preview Lab → · Contrast checker → · Palette generator →

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