#585A17#585A17

#585A17 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.2% C 0.087 H 111.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#585A17
RGBrgb(88, 90, 23)
HSLhsl(62, 59%, 22%)
HSVhsv(62, 74%, 35%)
CMYKcmyk(2.2%, 0%, 74.4%, 64.7%)
CIE-LABlab(36.84, -10.13, 36.44)
CIE-LCHlch(36.84, 37.83, 105.53°)
OKLaboklab(45.2% -0.0314 0.0813)
OKLCHoklch(45.2% 0.087 111.1)
XYZxyz(7.8356, 9.4491, 2.2215)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585A17 #19175A
analogous
#5A3B17 #585A17 #375A17
triadic
#585A17 #17585A #5A1758
tetradic
#585A17 #175A3B #19175A #5A1737
square
#585A17 #175A3B #19175A #5A1737
split-complementary
#585A17 #17375A #3B175A
monochromatic
#181806 #28290B #585A17 #888B23 #B7BB30

Accessibility & contrast

On white

7.27
#585A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#585A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585A17
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585A17#FFFFFF#000000##FFFFFF
##585A171.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61560C
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#5E544D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #585a17;
/* rgb */ color: rgb(88, 90, 23);
/* oklch */ color: oklch(45.2% 0.087 111.1);
Tailwind
colors: {
  custom: {
    50: '#8a8859',
    500: '#585a17',
    950: '#000000',
  },
}
SCSS
$custom: #585a17;
$custom-light: #8a8859;
$custom-dark: #000000;
JSON
{
  "hex": "#585a17",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 61.791,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45199,
    "c": 0.08711,
    "h": 111.1
  },
  "luminance": 0.09449
}

Semantic roles & 50–950 ramp

primary
#585A17
secondary
#3E3C91
accent
#45E24A
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #585A17

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

Preview Lab → · Contrast checker → · Palette generator →

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