#5B5D0F#5B5D0F

#5B5D0F is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.2% C 0.095 H 111.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5B5D0F
RGBrgb(91, 93, 15)
HSLhsl(62, 72%, 21%)
HSVhsv(62, 84%, 36%)
CMYKcmyk(2.2%, 0%, 83.9%, 63.5%)
CIE-LABlab(38.00, -10.79, 40.68)
CIE-LCHlch(38.00, 42.09, 104.86°)
OKLaboklab(46.18% -0.0342 0.0885)
OKLCHoklch(46.18% 0.095 111.1)
XYZxyz(8.3153, 10.0876, 1.9609)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5D0F #110F5D
analogous
#5D380F #5B5D0F #345D0F
triadic
#5B5D0F #0F5B5D #5D0F5B
tetradic
#5B5D0F #0F5D38 #110F5D #5D0F34
square
#5B5D0F #0F5D38 #110F5D #5D0F34
split-complementary
#5B5D0F #0F345D #380F5D
monochromatic
#1A1A04 #272806 #5B5D0F #8F9217 #C2C620

Accessibility & contrast

On white

6.96
#5B5D0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5B5D0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5D0F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5D0F#FFFFFF#000000##FFFFFF
##5B5D0F1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#665A16
Tritanopia (blue-blind)
#62574F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5b5d0f;
/* rgb */ color: rgb(91, 93, 15);
/* oklch */ color: oklch(46.2% 0.095 111.1);
Tailwind
colors: {
  custom: {
    50: '#8c8a56',
    500: '#5b5d0f',
    950: '#000000',
  },
}
SCSS
$custom: #5b5d0f;
$custom-light: #8c8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5d0f",
  "rgb": {
    "r": 91,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 61.538,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.46181,
    "c": 0.09489,
    "h": 111.1
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#5B5D0F
secondary
#343196
accent
#39EF3E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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