#585C22#585C22

#585C22 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.8% C 0.080 H 112.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#585C22
RGBrgb(88, 92, 34)
HSLhsl(64, 46%, 25%)
HSVhsv(64, 63%, 36%)
CMYKcmyk(4.3%, 0%, 63%, 63.9%)
CIE-LABlab(37.56, -10.47, 32.05)
CIE-LCHlch(37.56, 33.72, 108.10°)
OKLaboklab(45.81% -0.031 0.0738)
OKLCHoklch(45.81% 0.08 112.8)
XYZxyz(8.1406, 9.8447, 2.9844)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585C22 #26225C
analogous
#5C4322 #585C22 #3B5C22
triadic
#585C22 #22585C #5C2258
tetradic
#585C22 #225C43 #26225C #5C223B
square
#585C22 #225C43 #26225C #5C223B
split-complementary
#585C22 #223B5C #43225C
monochromatic
#151608 #2D2F11 #585C22 #838933 #ADB543

Accessibility & contrast

On white

7.07
#585C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#585C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585C22
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585C22#FFFFFF#000000##FFFFFF
##585C221.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63581C
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#5E5750
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #585c22;
/* rgb */ color: rgb(88, 92, 34);
/* oklch */ color: oklch(45.8% 0.080 112.8);
Tailwind
colors: {
  custom: {
    50: '#898a60',
    500: '#585c22',
    950: '#000000',
  },
}
SCSS
$custom: #585c22;
$custom-light: #898a60;
$custom-dark: #000000;
JSON
{
  "hex": "#585c22",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 64.138,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45812,
    "c": 0.0801,
    "h": 112.8
  },
  "luminance": 0.09844
}

Semantic roles & 50–950 ramp

primary
#585C22
secondary
#4F4A90
accent
#52D65B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B05
muted
#7D7C79

Preview Lab

Preview with #585C22

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

Preview Lab → · Contrast checker → · Palette generator →

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