#585C12#585C12

#585C12 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.7% C 0.093 H 112.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#585C12
RGBrgb(88, 92, 18)
HSLhsl(63, 67%, 22%)
HSVhsv(63, 80%, 36%)
CMYKcmyk(4.3%, 0%, 80.4%, 63.9%)
CIE-LABlab(37.43, -11.54, 39.01)
CIE-LCHlch(37.43, 40.68, 106.48°)
OKLaboklab(45.67% -0.0358 0.0857)
OKLCHoklch(45.67% 0.093 112.7)
XYZxyz(7.9611, 9.7729, 2.0391)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585C12 #16125C
analogous
#5C3B12 #585C12 #335C12
triadic
#585C12 #12585C #5C1258
tetradic
#585C12 #125C3B #16125C #5C1233
square
#585C12 #125C3B #16125C #5C1233
split-complementary
#585C12 #12335C #3B125C
monochromatic
#181A05 #272908 #585C12 #898F1C #BAC226

Accessibility & contrast

On white

7.11
#585C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#585C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585C12
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585C12#FFFFFF#000000##FFFFFF
##585C121.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645703
Deuteranopia (green-blind)
#645918
Tritanopia (blue-blind)
#5F564E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #585c12;
/* rgb */ color: rgb(88, 92, 18);
/* oklch */ color: oklch(45.7% 0.093 112.7);
Tailwind
colors: {
  custom: {
    50: '#8a8a57',
    500: '#585c12',
    950: '#000000',
  },
}
SCSS
$custom: #585c12;
$custom-light: #8a8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#585c12",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 63.243,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.0929,
    "h": 112.7
  },
  "luminance": 0.09773
}

Semantic roles & 50–950 ramp

primary
#585C12
secondary
#3B3594
accent
#3EEA47
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #585C12

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

Preview Lab → · Contrast checker → · Palette generator →

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