#585A0F#585A0F

#585A0F is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.1% C 0.092 H 111.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#585A0F
RGBrgb(88, 90, 15)
HSLhsl(62, 71%, 21%)
HSVhsv(62, 83%, 35%)
CMYKcmyk(2.2%, 0%, 83.3%, 64.7%)
CIE-LABlab(36.78, -10.54, 39.49)
CIE-LCHlch(36.78, 40.87, 104.95°)
OKLaboklab(45.14% -0.0333 0.0861)
OKLCHoklch(45.14% 0.092 111.2)
XYZxyz(7.7672, 9.4217, 1.8613)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585A0F #110F5A
analogous
#5A360F #585A0F #325A0F
triadic
#585A0F #0F585A #5A0F58
tetradic
#585A0F #0F5A36 #110F5A #5A0F32
square
#585A0F #0F5A36 #110F5A #5A0F32
split-complementary
#585A0F #0F325A #360F5A
monochromatic
#1A1A04 #252606 #585A0F #8B8E18 #BFC320

Accessibility & contrast

On white

7.28
#585A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#585A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585A0F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585A0F#FFFFFF#000000##FFFFFF
##585A0F1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#625716
Tritanopia (blue-blind)
#5F544C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #585a0f;
/* rgb */ color: rgb(88, 90, 15);
/* oklch */ color: oklch(45.1% 0.092 111.2);
Tailwind
colors: {
  custom: {
    50: '#8a8855',
    500: '#585a0f',
    950: '#000000',
  },
}
SCSS
$custom: #585a0f;
$custom-light: #8a8855;
$custom-dark: #000000;
JSON
{
  "hex": "#585a0f",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 61.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.09232,
    "h": 111.2
  },
  "luminance": 0.09422
}

Semantic roles & 50–950 ramp

primary
#585A0F
secondary
#343194
accent
#3AEE3E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #585A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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