#585A19#585A19

#585A19 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#585A19
RGBrgb(88, 90, 25)
HSLhsl(62, 57%, 23%)
HSVhsv(62, 72%, 35%)
CMYKcmyk(2.2%, 0%, 72.2%, 64.7%)
CIE-LABlab(36.85, -10.00, 35.59)
CIE-LCHlch(36.85, 36.97, 105.70°)
OKLaboklab(45.22% -0.0308 0.0798)
OKLCHoklch(45.22% 0.086 111.1)
XYZxyz(7.8564, 9.4574, 2.3311)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585A19 #1B195A
analogous
#5A3B19 #585A19 #385A19
triadic
#585A19 #19585A #5A1958
tetradic
#585A19 #195A3B #1B195A #5A1938
square
#585A19 #195A3B #1B195A #5A1938
split-complementary
#585A19 #19385A #3B195A
monochromatic
#171807 #292A0C #585A19 #878A26 #B6BA34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##585A19#FFFFFF#000000##FFFFFF
##585A191.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)
#61560F
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#5E544D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #585a19;
/* rgb */ color: rgb(88, 90, 25);
/* oklch */ color: oklch(45.2% 0.086 111.1);
Tailwind
colors: {
  custom: {
    50: '#89885a',
    500: '#585a19',
    950: '#000000',
  },
}
SCSS
$custom: #585a19;
$custom-light: #89885a;
$custom-dark: #000000;
JSON
{
  "hex": "#585a19",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 25
  },
  "hsl": {
    "h": 61.846,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45217,
    "c": 0.08557,
    "h": 111.1
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

primary
#585A19
secondary
#413E90
accent
#48E04D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #585A19

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

Preview Lab → · Contrast checker → · Palette generator →

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