#585018#585018

#585018 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.7% C 0.075 H 101.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#585018
RGBrgb(88, 80, 24)
HSLhsl(53, 57%, 22%)
HSVhsv(53, 73%, 35%)
CMYKcmyk(0%, 9.1%, 72.7%, 65.5%)
CIE-LABlab(33.73, -4.18, 32.86)
CIE-LCHlch(33.73, 33.12, 97.25°)
OKLaboklab(42.73% -0.0145 0.0739)
OKLCHoklch(42.73% 0.075 101.1)
XYZxyz(7.0583, 7.8783, 2.0128)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585018 #182058
analogous
#583018 #585018 #405818
triadic
#585018 #185850 #501858
tetradic
#585018 #185830 #182058 #581840
square
#585018 #185830 #182058 #581840
split-complementary
#585018 #184058 #301858
monochromatic
#181607 #28240B #585018 #887C25 #B8A732

Accessibility & contrast

On white

8.15
#585018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#585018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585018
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585018#FFFFFF#000000##FFFFFF
##5850181.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D10
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#5F4A45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #585018;
/* rgb */ color: rgb(88, 80, 24);
/* oklch */ color: oklch(42.7% 0.075 101.1);
Tailwind
colors: {
  custom: {
    50: '#898058',
    500: '#585018',
    950: '#000000',
  },
}
SCSS
$custom: #585018;
$custom-light: #898058;
$custom-dark: #000000;
JSON
{
  "hex": "#585018",
  "rgb": {
    "r": 88,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 52.5,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42726,
    "c": 0.0753,
    "h": 101.1
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#585018
secondary
#3D478F
accent
#5BE047
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #585018

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

Preview Lab → · Contrast checker → · Palette generator →

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