#585F12#585F12

#585F12 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.4% C 0.096 H 114.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#585F12
RGBrgb(88, 95, 18)
HSLhsl(65, 68%, 22%)
HSVhsv(65, 81%, 37%)
CMYKcmyk(7.4%, 0%, 81.1%, 62.7%)
CIE-LABlab(38.38, -13.23, 39.89)
CIE-LCHlch(38.38, 42.03, 108.35°)
OKLaboklab(46.43% -0.0405 0.0876)
OKLCHoklch(46.43% 0.096 114.8)
XYZxyz(8.2261, 10.3029, 2.1275)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585F12 #19125F
analogous
#5F4012 #585F12 #315F12
triadic
#585F12 #12585F #5F1258
tetradic
#585F12 #125F40 #19125F #5F1231
square
#585F12 #125F40 #19125F #5F1231
split-complementary
#585F12 #12315F #40125F
monochromatic
#181A05 #282C08 #585F12 #88921C #B7C625

Accessibility & contrast

On white

6.86
#585F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#585F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585F12
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585F12#FFFFFF#000000##FFFFFF
##585F121.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A02
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#5E5951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #585f12;
/* rgb */ color: rgb(88, 95, 18);
/* oklch */ color: oklch(46.4% 0.096 114.8);
Tailwind
colors: {
  custom: {
    50: '#8a8c57',
    500: '#585f12',
    950: '#000000',
  },
}
SCSS
$custom: #585f12;
$custom-light: #8a8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#585f12",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 65.455,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46427,
    "c": 0.09649,
    "h": 114.8
  },
  "luminance": 0.10303
}

Semantic roles & 50–950 ramp

primary
#585F12
secondary
#3E3697
accent
#3DEB4D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #585F12

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

Preview Lab → · Contrast checker → · Palette generator →

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