#585215#585215

#585215 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.2% C 0.080 H 103.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#585215
RGBrgb(88, 82, 21)
HSLhsl(55, 61%, 21%)
HSVhsv(55, 76%, 35%)
CMYKcmyk(0%, 6.8%, 76.1%, 65.5%)
CIE-LABlab(34.32, -5.56, 34.82)
CIE-LCHlch(34.32, 35.26, 99.08°)
OKLaboklab(43.19% -0.0188 0.0775)
OKLCHoklch(43.19% 0.08 103.6)
XYZxyz(7.1775, 8.1637, 1.9070)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585215 #151B58
analogous
#583115 #585215 #3D5815
triadic
#585215 #155852 #521558
tetradic
#585215 #155831 #151B58 #58153D
square
#585215 #155831 #151B58 #58153D
split-complementary
#585215 #153D58 #311558
monochromatic
#191706 #272409 #585215 #898021 #BBAE2D

Accessibility & contrast

On white

7.98
#585215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#585215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585215
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585215#FFFFFF#000000##FFFFFF
##5852151.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#5F4C46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #585215;
/* rgb */ color: rgb(88, 82, 21);
/* oklch */ color: oklch(43.2% 0.080 103.6);
Tailwind
colors: {
  custom: {
    50: '#8a8257',
    500: '#585215',
    950: '#000000',
  },
}
SCSS
$custom: #585215;
$custom-light: #8a8257;
$custom-dark: #000000;
JSON
{
  "hex": "#585215",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 54.627,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4319,
    "c": 0.07969,
    "h": 103.6
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#585215
secondary
#394190
accent
#52E543
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #585215

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

Preview Lab → · Contrast checker → · Palette generator →

#585215 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva