#5B5D15#5B5D15

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

Color values

HEX#5B5D15
RGBrgb(91, 93, 21)
HSLhsl(62, 63%, 22%)
HSVhsv(62, 77%, 36%)
CMYKcmyk(2.2%, 0%, 77.4%, 63.5%)
CIE-LABlab(38.03, -10.51, 38.53)
CIE-LCHlch(38.03, 39.93, 105.25°)
OKLaboklab(46.22% -0.0328 0.0852)
OKLCHoklch(46.22% 0.091 111.1)
XYZxyz(8.3644, 10.1072, 2.2196)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5D15 #17155D
analogous
#5D3B15 #5B5D15 #375D15
triadic
#5B5D15 #155B5D #5D155B
tetradic
#5B5D15 #155D3B #17155D #5D1537
square
#5B5D15 #155D3B #17155D #5D1537
split-complementary
#5B5D15 #15375D #3B155D
monochromatic
#181906 #2A2B0A #5B5D15 #8C8F20 #BDC12C

Accessibility & contrast

On white

6.95
#5B5D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B5D15
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5D15#FFFFFF#000000##FFFFFF
##5B5D151.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655907
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#62574F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5b5d15;
/* rgb */ color: rgb(91, 93, 21);
/* oklch */ color: oklch(46.2% 0.091 111.1);
Tailwind
colors: {
  custom: {
    50: '#8c8a58',
    500: '#5b5d15',
    950: '#000000',
  },
}
SCSS
$custom: #5b5d15;
$custom-light: #8c8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5d15",
  "rgb": {
    "r": 91,
    "g": 93,
    "b": 21
  },
  "hsl": {
    "h": 61.667,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4622,
    "c": 0.09127,
    "h": 111.1
  },
  "luminance": 0.10107
}

Semantic roles & 50–950 ramp

primary
#5B5D15
secondary
#3C3994
accent
#42E646
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5B5D15

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

Preview Lab → · Contrast checker → · Palette generator →

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