#585D18#585D18

#585D18 is a mid, moderate yellow. Relative luminance 0.100; OKLCH L 46.0% C 0.090 H 113.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#585D18
RGBrgb(88, 93, 24)
HSLhsl(64, 59%, 23%)
HSVhsv(64, 74%, 36%)
CMYKcmyk(5.4%, 0%, 74.2%, 63.5%)
CIE-LABlab(37.79, -11.78, 36.96)
CIE-LCHlch(37.79, 38.79, 107.67°)
OKLaboklab(45.96% -0.0359 0.0826)
OKLCHoklch(45.96% 0.09 113.5)
XYZxyz(8.1040, 9.9695, 2.3614)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585D18 #1D185D
analogous
#5D3F18 #585D18 #355D18
triadic
#585D18 #18585D #5D1858
tetradic
#585D18 #185D3F #1D185D #5D1835
square
#585D18 #185D3F #1D185D #5D1835
split-complementary
#585D18 #18355D #3F185D
monochromatic
#171806 #2A2C0B #585D18 #868E25 #B4BE31

Accessibility & contrast

On white

7.01
#585D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#585D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585D18
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585D18#FFFFFF#000000##FFFFFF
##585D181.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580D
Deuteranopia (green-blind)
#645A1D
Tritanopia (blue-blind)
#5E574F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #585d18;
/* rgb */ color: rgb(88, 93, 24);
/* oklch */ color: oklch(46.0% 0.090 113.5);
Tailwind
colors: {
  custom: {
    50: '#898a5a',
    500: '#585d18',
    950: '#000000',
  },
}
SCSS
$custom: #585d18;
$custom-light: #898a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#585d18",
  "rgb": {
    "r": 88,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 64.348,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45964,
    "c": 0.09001,
    "h": 113.5
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#585D18
secondary
#443D93
accent
#46E251
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #585D18

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

Preview Lab → · Contrast checker → · Palette generator →

#585D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva