#585B0F#585B0F

#585B0F is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.4% C 0.093 H 111.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#585B0F
RGBrgb(88, 91, 15)
HSLhsl(62, 72%, 21%)
HSVhsv(62, 84%, 36%)
CMYKcmyk(3.3%, 0%, 83.5%, 64.3%)
CIE-LABlab(37.10, -11.11, 39.77)
CIE-LCHlch(37.10, 41.29, 105.61°)
OKLaboklab(45.4% -0.0349 0.0867)
OKLCHoklch(45.4% 0.093 111.9)
XYZxyz(7.8521, 9.5916, 1.8896)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585B0F #120F5B
analogous
#5B380F #585B0F #325B0F
triadic
#585B0F #0F585B #5B0F58
tetradic
#585B0F #0F5B38 #120F5B #5B0F32
square
#585B0F #0F5B38 #120F5B #5B0F32
split-complementary
#585B0F #0F325B #380F5B
monochromatic
#191A04 #252606 #585B0F #8B9018 #BEC420

Accessibility & contrast

On white

7.20
#585B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#585B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585B0F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585B0F#FFFFFF#000000##FFFFFF
##585B0F1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#635816
Tritanopia (blue-blind)
#5F554D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #585b0f;
/* rgb */ color: rgb(88, 91, 15);
/* oklch */ color: oklch(45.4% 0.093 111.9);
Tailwind
colors: {
  custom: {
    50: '#8a8955',
    500: '#585b0f',
    950: '#000000',
  },
}
SCSS
$custom: #585b0f;
$custom-light: #8a8955;
$custom-dark: #000000;
JSON
{
  "hex": "#585b0f",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 62.368,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.45395,
    "c": 0.09347,
    "h": 111.9
  },
  "luminance": 0.09591
}

Semantic roles & 50–950 ramp

primary
#585B0F
secondary
#353195
accent
#39EE41
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #585B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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