#585A18#585A18

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

Color values

HEX#585A18
RGBrgb(88, 90, 24)
HSLhsl(62, 58%, 22%)
HSVhsv(62, 73%, 35%)
CMYKcmyk(2.2%, 0%, 73.3%, 64.7%)
CIE-LABlab(36.84, -10.06, 36.02)
CIE-LCHlch(36.84, 37.40, 105.61°)
OKLaboklab(45.21% -0.0311 0.0806)
OKLCHoklch(45.21% 0.086 111.1)
XYZxyz(7.8458, 9.4532, 2.2753)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585A18 #1A185A
analogous
#5A3B18 #585A18 #375A18
triadic
#585A18 #18585A #5A1858
tetradic
#585A18 #185A3B #1A185A #5A1837
square
#585A18 #185A3B #1A185A #5A1837
split-complementary
#585A18 #18375A #3B185A
monochromatic
#181806 #292A0B #585A18 #878A25 #B6BB32

Accessibility & contrast

On white

7.26
#585A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #585A18
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585A18#FFFFFF#000000##FFFFFF
##585A181.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #585a18;
/* rgb */ color: rgb(88, 90, 24);
/* oklch */ color: oklch(45.2% 0.086 111.1);
Tailwind
colors: {
  custom: {
    50: '#89885a',
    500: '#585a18',
    950: '#000000',
  },
}
SCSS
$custom: #585a18;
$custom-light: #89885a;
$custom-dark: #000000;
JSON
{
  "hex": "#585a18",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 61.818,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45208,
    "c": 0.08635,
    "h": 111.1
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#585A18
secondary
#403D91
accent
#47E14B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #585A18

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

Preview Lab → · Contrast checker → · Palette generator →

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