#5B5D0D#5B5D0D

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

Color values

HEX#5B5D0D
RGBrgb(91, 93, 13)
HSLhsl(62, 75%, 21%)
HSVhsv(62, 86%, 36%)
CMYKcmyk(2.2%, 0%, 86%, 63.5%)
CIE-LABlab(37.99, -10.87, 41.31)
CIE-LCHlch(37.99, 42.71, 104.74°)
OKLaboklab(46.17% -0.0346 0.0895)
OKLCHoklch(46.17% 0.096 111.1)
XYZxyz(8.3017, 10.0821, 1.8894)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5D0D #0F0D5D
analogous
#5D370D #5B5D0D #335D0D
triadic
#5B5D0D #0D5B5D #5D0D5B
tetradic
#5B5D0D #0D5D37 #0F0D5D #5D0D33
square
#5B5D0D #0D5D37 #0F0D5D #5D0D33
split-complementary
#5B5D0D #0D335D #370D5D
monochromatic
#1A1B04 #262705 #5B5D0D #909315 #C4C81C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B5D0D#FFFFFF#000000##FFFFFF
##5B5D0D1.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)
#665A15
Tritanopia (blue-blind)
#62574F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5b5d0d;
/* rgb */ color: rgb(91, 93, 13);
/* oklch */ color: oklch(46.2% 0.096 111.1);
Tailwind
colors: {
  custom: {
    50: '#8c8a55',
    500: '#5b5d0d',
    950: '#000000',
  },
}
SCSS
$custom: #5b5d0d;
$custom-light: #8c8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5d0d",
  "rgb": {
    "r": 91,
    "g": 93,
    "b": 13
  },
  "hsl": {
    "h": 61.5,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4617,
    "c": 0.09591,
    "h": 111.1
  },
  "luminance": 0.10082
}

Semantic roles & 50–950 ramp

primary
#5B5D0D
secondary
#312F97
accent
#36F23A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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