#5B5F16#5B5F16

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

Color values

HEX#5B5F16
RGBrgb(91, 95, 22)
HSLhsl(63, 62%, 23%)
HSVhsv(63, 77%, 37%)
CMYKcmyk(4.2%, 0%, 76.8%, 62.7%)
CIE-LABlab(38.67, -11.59, 38.74)
CIE-LCHlch(38.67, 40.43, 106.65°)
OKLaboklab(46.73% -0.0357 0.0858)
OKLCHoklch(46.73% 0.093 112.6)
XYZxyz(8.5517, 10.4667, 2.3287)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5F16 #1A165F
analogous
#5F3E16 #5B5F16 #365F16
triadic
#5B5F16 #165B5F #5F165B
tetradic
#5B5F16 #165F3E #1A165F #5F1636
square
#5B5F16 #165F3E #1A165F #5F1636
split-complementary
#5B5F16 #16365F #3E165F
monochromatic
#181906 #2B2D0A #5B5F16 #8B9122 #BAC22D

Accessibility & contrast

On white

6.79
#5B5F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B5F16
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5F16#FFFFFF#000000##FFFFFF
##5B5F161.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A08
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#625951
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b5f16;
/* rgb */ color: rgb(91, 95, 22);
/* oklch */ color: oklch(46.7% 0.093 112.6);
Tailwind
colors: {
  custom: {
    50: '#8c8c59',
    500: '#5b5f16',
    950: '#000000',
  },
}
SCSS
$custom: #5b5f16;
$custom-light: #8c8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5f16",
  "rgb": {
    "r": 91,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 63.288,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46729,
    "c": 0.09295,
    "h": 112.6
  },
  "luminance": 0.10466
}

Semantic roles & 50–950 ramp

primary
#5B5F16
secondary
#403B96
accent
#42E54B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B5F16

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

Preview Lab → · Contrast checker → · Palette generator →

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