#5B5F0D#5B5F0D

#5B5F0D is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.7% C 0.098 H 112.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5B5F0D
RGBrgb(91, 95, 13)
HSLhsl(63, 76%, 21%)
HSVhsv(63, 86%, 37%)
CMYKcmyk(4.2%, 0%, 86.3%, 62.7%)
CIE-LABlab(38.62, -12.00, 41.85)
CIE-LCHlch(38.62, 43.54, 106.00°)
OKLaboklab(46.67% -0.0377 0.0906)
OKLCHoklch(46.67% 0.098 112.6)
XYZxyz(8.4795, 10.4378, 1.9487)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5F0D #110D5F
analogous
#5F3A0D #5B5F0D #325F0D
triadic
#5B5F0D #0D5B5F #5F0D5B
tetradic
#5B5F0D #0D5F3A #110D5F #5F0D32
square
#5B5F0D #0D5F3A #110D5F #5F0D32
split-complementary
#5B5F0D #0D325F #3A0D5F
monochromatic
#1A1B04 #272906 #5B5F0D #8F9514 #C2CB1C

Accessibility & contrast

On white

6.80
#5B5F0D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5B5F0D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5F0D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5F0D#FFFFFF#000000##FFFFFF
##5B5F0D1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#675C15
Tritanopia (blue-blind)
#625950
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b5f0d;
/* rgb */ color: rgb(91, 95, 13);
/* oklch */ color: oklch(46.7% 0.098 112.6);
Tailwind
colors: {
  custom: {
    50: '#8c8c55',
    500: '#5b5f0d',
    950: '#000000',
  },
}
SCSS
$custom: #5b5f0d;
$custom-light: #8c8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5f0d",
  "rgb": {
    "r": 91,
    "g": 95,
    "b": 13
  },
  "hsl": {
    "h": 62.927,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.46673,
    "c": 0.09816,
    "h": 112.6
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#5B5F0D
secondary
#342F99
accent
#35F33F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B5F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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