#585A16#585A16

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

Color values

HEX#585A16
RGBrgb(88, 90, 22)
HSLhsl(62, 61%, 22%)
HSVhsv(62, 76%, 35%)
CMYKcmyk(2.2%, 0%, 75.6%, 64.7%)
CIE-LABlab(36.83, -10.19, 36.86)
CIE-LCHlch(36.83, 38.24, 105.45°)
OKLaboklab(45.19% -0.0316 0.082)
OKLCHoklch(45.19% 0.088 111.1)
XYZxyz(7.8257, 9.4452, 2.1698)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585A16 #18165A
analogous
#5A3A16 #585A16 #365A16
triadic
#585A16 #16585A #5A1658
tetradic
#585A16 #165A3A #18165A #5A1636
square
#585A16 #165A3A #18165A #5A1636
split-complementary
#585A16 #16365A #3A165A
monochromatic
#181906 #28290A #585A16 #888B22 #B8BC2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##585A16#FFFFFF#000000##FFFFFF
##585A161.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)
#62560A
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#5F544D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #585a16;
/* rgb */ color: rgb(88, 90, 22);
/* oklch */ color: oklch(45.2% 0.088 111.1);
Tailwind
colors: {
  custom: {
    50: '#8a8858',
    500: '#585a16',
    950: '#000000',
  },
}
SCSS
$custom: #585a16;
$custom-light: #8a8858;
$custom-dark: #000000;
JSON
{
  "hex": "#585a16",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 22
  },
  "hsl": {
    "h": 61.765,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45191,
    "c": 0.08785,
    "h": 111.1
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#585A16
secondary
#3D3B91
accent
#44E449
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #585A16

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

Preview Lab → · Contrast checker → · Palette generator →

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