#585A12#585A12

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

Color values

HEX#585A12
RGBrgb(88, 90, 18)
HSLhsl(62, 67%, 21%)
HSVhsv(62, 80%, 35%)
CMYKcmyk(2.2%, 0%, 80%, 64.7%)
CIE-LABlab(36.80, -10.40, 38.42)
CIE-LCHlch(36.80, 39.81, 105.15°)
OKLaboklab(45.16% -0.0327 0.0845)
OKLCHoklch(45.16% 0.091 111.1)
XYZxyz(7.7901, 9.4309, 1.9821)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585A12 #14125A
analogous
#5A3812 #585A12 #345A12
triadic
#585A12 #12585A #5A1258
tetradic
#585A12 #125A38 #14125A #5A1234
square
#585A12 #125A38 #14125A #5A1234
split-complementary
#585A12 #12345A #38125A
monochromatic
#191A05 #262708 #585A12 #8A8D1C #BCC026

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##585A12#FFFFFF#000000##FFFFFF
##585A121.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #585a12;
/* rgb */ color: rgb(88, 90, 18);
/* oklch */ color: oklch(45.2% 0.091 111.1);
Tailwind
colors: {
  custom: {
    50: '#8a8856',
    500: '#585a12',
    950: '#000000',
  },
}
SCSS
$custom: #585a12;
$custom-light: #8a8856;
$custom-dark: #000000;
JSON
{
  "hex": "#585a12",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 61.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45161,
    "c": 0.09055,
    "h": 111.1
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#585A12
secondary
#383593
accent
#3EEA43
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #585A12

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

Preview Lab → · Contrast checker → · Palette generator →

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