#5B5C0F#5B5C0F

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

Color values

HEX#5B5C0F
RGBrgb(91, 92, 15)
HSLhsl(61, 72%, 21%)
HSVhsv(61, 84%, 36%)
CMYKcmyk(1.1%, 0%, 83.7%, 63.9%)
CIE-LABlab(37.69, -10.22, 40.40)
CIE-LCHlch(37.69, 41.67, 104.20°)
OKLaboklab(45.93% -0.0326 0.0879)
OKLCHoklch(45.93% 0.094 110.4)
XYZxyz(8.2281, 9.9132, 1.9319)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5C0F #100F5C
analogous
#5C360F #5B5C0F #345C0F
triadic
#5B5C0F #0F5B5C #5C0F5B
tetradic
#5B5C0F #0F5C36 #100F5C #5C0F34
square
#5B5C0F #0F5C36 #100F5C #5C0F34
split-complementary
#5B5C0F #0F345C #360F5C
monochromatic
#1A1A04 #272706 #5B5C0F #8F9118 #C3C520

Accessibility & contrast

On white

7.04
#5B5C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5B5C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5C0F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5C0F#FFFFFF#000000##FFFFFF
##5B5C0F1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645800
Deuteranopia (green-blind)
#655A16
Tritanopia (blue-blind)
#62564E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5b5c0f;
/* rgb */ color: rgb(91, 92, 15);
/* oklch */ color: oklch(45.9% 0.094 110.4);
Tailwind
colors: {
  custom: {
    50: '#8c8955',
    500: '#5b5c0f',
    950: '#000000',
  },
}
SCSS
$custom: #5b5c0f;
$custom-light: #8c8955;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5c0f",
  "rgb": {
    "r": 91,
    "g": 92,
    "b": 15
  },
  "hsl": {
    "h": 60.779,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45931,
    "c": 0.09377,
    "h": 110.4
  },
  "luminance": 0.09913
}

Semantic roles & 50–950 ramp

primary
#5B5C0F
secondary
#333195
accent
#39EF3B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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