#585E18#585E18

#585E18 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.2% C 0.091 H 114.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#585E18
RGBrgb(88, 94, 24)
HSLhsl(65, 59%, 23%)
HSVhsv(65, 74%, 37%)
CMYKcmyk(6.4%, 0%, 74.5%, 63.1%)
CIE-LABlab(38.10, -12.34, 37.28)
CIE-LCHlch(38.10, 39.27, 108.32°)
OKLaboklab(46.22% -0.0374 0.0832)
OKLCHoklch(46.22% 0.091 114.2)
XYZxyz(8.1923, 10.1462, 2.3908)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585E18 #1E185E
analogous
#5E4118 #585E18 #355E18
triadic
#585E18 #18585E #5E1858
tetradic
#585E18 #185E41 #1E185E #5E1835
square
#585E18 #185E41 #1E185E #5E1835
split-complementary
#585E18 #18355E #41185E
monochromatic
#171806 #2A2D0C #585E18 #868F24 #B3C031

Accessibility & contrast

On white

6.93
#585E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#585E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585E18
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585E18#FFFFFF#000000##FFFFFF
##585E181.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#655A1D
Tritanopia (blue-blind)
#5E5850
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #585e18;
/* rgb */ color: rgb(88, 94, 24);
/* oklch */ color: oklch(46.2% 0.091 114.2);
Tailwind
colors: {
  custom: {
    50: '#8a8b5a',
    500: '#585e18',
    950: '#000000',
  },
}
SCSS
$custom: #585e18;
$custom-light: #8a8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#585e18",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 65.143,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46217,
    "c": 0.09125,
    "h": 114.2
  },
  "luminance": 0.10146
}

Semantic roles & 50–950 ramp

primary
#585E18
secondary
#453D94
accent
#45E353
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #585E18

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

Preview Lab → · Contrast checker → · Palette generator →

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