#5C5B0F#5C5B0F

#5C5B0F is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.8% C 0.092 H 108.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5C5B0F
RGBrgb(92, 91, 15)
HSLhsl(59, 72%, 21%)
HSVhsv(59, 84%, 36%)
CMYKcmyk(0%, 1.1%, 83.7%, 63.9%)
CIE-LABlab(37.47, -9.16, 40.24)
CIE-LCHlch(37.47, 41.27, 102.82°)
OKLaboklab(45.78% -0.0297 0.0875)
OKLCHoklch(45.78% 0.092 108.8)
XYZxyz(8.2413, 9.7922, 1.9078)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5B0F #0F105C
analogous
#5C340F #5C5B0F #365C0F
triadic
#5C5B0F #0F5C5B #5B0F5C
tetradic
#5C5B0F #0F5C34 #0F105C #5C0F36
square
#5C5B0F #0F5C34 #0F105C #5C0F36
split-complementary
#5C5B0F #0F365C #340F5C
monochromatic
#1A1A04 #272706 #5C5B0F #918F18 #C5C320

Accessibility & contrast

On white

7.10
#5C5B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5C5B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5B0F
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5B0F#FFFFFF#000000##FFFFFF
##5C5B0F1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#645916
Tritanopia (blue-blind)
#63544D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c5b0f;
/* rgb */ color: rgb(92, 91, 15);
/* oklch */ color: oklch(45.8% 0.092 108.8);
Tailwind
colors: {
  custom: {
    50: '#8d8955',
    500: '#5c5b0f',
    950: '#000000',
  },
}
SCSS
$custom: #5c5b0f;
$custom-light: #8d8955;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5b0f",
  "rgb": {
    "r": 92,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 59.221,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45778,
    "c": 0.09243,
    "h": 108.8
  },
  "luminance": 0.09792
}

Semantic roles & 50–950 ramp

primary
#5C5B0F
secondary
#313395
accent
#3BEF39
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5C5B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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