#585D12#585D12

#585D12 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.9% C 0.094 H 113.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#585D12
RGBrgb(88, 93, 18)
HSLhsl(64, 68%, 22%)
HSVhsv(64, 81%, 36%)
CMYKcmyk(5.4%, 0%, 80.6%, 63.5%)
CIE-LABlab(37.75, -12.11, 39.31)
CIE-LCHlch(37.75, 41.13, 107.12°)
OKLaboklab(45.92% -0.0374 0.0863)
OKLCHoklch(45.92% 0.094 113.4)
XYZxyz(8.0483, 9.9473, 2.0682)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585D12 #17125D
analogous
#5D3D12 #585D12 #335D12
triadic
#585D12 #12585D #5D1258
tetradic
#585D12 #125D3D #17125D #5D1233
square
#585D12 #125D3D #17125D #5D1233
split-complementary
#585D12 #12335D #3D125D
monochromatic
#181A05 #272A08 #585D12 #89901C #B9C426

Accessibility & contrast

On white

7.02
#585D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#585D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585D12
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585D12#FFFFFF#000000##FFFFFF
##585D121.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655802
Deuteranopia (green-blind)
#645A18
Tritanopia (blue-blind)
#5E574F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #585d12;
/* rgb */ color: rgb(88, 93, 18);
/* oklch */ color: oklch(45.9% 0.094 113.4);
Tailwind
colors: {
  custom: {
    50: '#8a8a57',
    500: '#585d12',
    950: '#000000',
  },
}
SCSS
$custom: #585d12;
$custom-light: #8a8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#585d12",
  "rgb": {
    "r": 88,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 64,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.09408,
    "h": 113.4
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#585D12
secondary
#3C3595
accent
#3DEA49
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #585D12

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

Preview Lab → · Contrast checker → · Palette generator →

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