#585B22#585B22

#585B22 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.6% C 0.079 H 111.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#585B22
RGBrgb(88, 91, 34)
HSLhsl(63, 46%, 25%)
HSVhsv(63, 63%, 36%)
CMYKcmyk(3.3%, 0%, 62.6%, 64.3%)
CIE-LABlab(37.25, -9.90, 31.70)
CIE-LCHlch(37.25, 33.21, 107.34°)
OKLaboklab(45.56% -0.0294 0.0731)
OKLCHoklch(45.56% 0.079 111.9)
XYZxyz(8.0545, 9.6725, 2.9558)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585B22 #25225B
analogous
#5B4222 #585B22 #3C5B22
triadic
#585B22 #22585B #5B2258
tetradic
#585B22 #225B42 #25225B #5B223C
square
#585B22 #225B42 #25225B #5B223C
split-complementary
#585B22 #223C5B #42225B
monochromatic
#161608 #2D2E11 #585B22 #838833 #AEB443

Accessibility & contrast

On white

7.16
#585B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#585B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585B22
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585B22#FFFFFF#000000##FFFFFF
##585B221.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62571C
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#5E564F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #585b22;
/* rgb */ color: rgb(88, 91, 34);
/* oklch */ color: oklch(45.6% 0.079 111.9);
Tailwind
colors: {
  custom: {
    50: '#898960',
    500: '#585b22',
    950: '#000000',
  },
}
SCSS
$custom: #585b22;
$custom-light: #898960;
$custom-dark: #000000;
JSON
{
  "hex": "#585b22",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 34
  },
  "hsl": {
    "h": 63.158,
    "s": 45.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.0788,
    "h": 111.9
  },
  "luminance": 0.09672
}

Semantic roles & 50–950 ramp

primary
#585B22
secondary
#4D4A8F
accent
#53D559
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B05
muted
#7D7C79

Preview Lab

Preview with #585B22

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

Preview Lab → · Contrast checker → · Palette generator →

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