#5C580F#5C580F

#5C580F is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.0% C 0.089 H 106.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5C580F
RGBrgb(92, 88, 15)
HSLhsl(57, 72%, 21%)
HSVhsv(57, 84%, 36%)
CMYKcmyk(0%, 4.3%, 83.7%, 63.9%)
CIE-LABlab(36.54, -7.42, 39.40)
CIE-LCHlch(36.54, 40.10, 100.66°)
OKLaboklab(45.04% -0.0249 0.0857)
OKLCHoklch(45.04% 0.089 106.2)
XYZxyz(7.9899, 9.2895, 1.8240)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C580F #0F135C
analogous
#5C310F #5C580F #395C0F
triadic
#5C580F #0F5C58 #580F5C
tetradic
#5C580F #0F5C31 #0F135C #5C0F39
square
#5C580F #0F5C31 #0F135C #5C0F39
split-complementary
#5C580F #0F395C #310F5C
monochromatic
#1A1904 #272606 #5C580F #918A18 #C5BD20

Accessibility & contrast

On white

7.35
#5C580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5C580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C580F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C580F#FFFFFF#000000##FFFFFF
##5C580F1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#625715
Tritanopia (blue-blind)
#63514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c580f;
/* rgb */ color: rgb(92, 88, 15);
/* oklch */ color: oklch(45.0% 0.089 106.2);
Tailwind
colors: {
  custom: {
    50: '#8d8655',
    500: '#5c580f',
    950: '#000000',
  },
}
SCSS
$custom: #5c580f;
$custom-light: #8d8655;
$custom-dark: #000000;
JSON
{
  "hex": "#5c580f",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 56.883,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45036,
    "c": 0.08926,
    "h": 106.2
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#5C580F
secondary
#313795
accent
#43EF39
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5C580F

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

Preview Lab → · Contrast checker → · Palette generator →

#5C580F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva