#5B5F13#5B5F13

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

Color values

HEX#5B5F13
RGBrgb(91, 95, 19)
HSLhsl(63, 67%, 22%)
HSVhsv(63, 80%, 37%)
CMYKcmyk(4.2%, 0%, 80%, 62.7%)
CIE-LABlab(38.65, -11.74, 39.87)
CIE-LCHlch(38.65, 41.56, 106.41°)
OKLaboklab(46.71% -0.0365 0.0876)
OKLCHoklch(46.71% 0.095 112.6)
XYZxyz(8.5244, 10.4558, 2.1851)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5F13 #17135F
analogous
#5F3D13 #5B5F13 #355F13
triadic
#5B5F13 #135B5F #5F135B
tetradic
#5B5F13 #135F3D #17135F #5F1335
square
#5B5F13 #135F3D #17135F #5F1335
split-complementary
#5B5F13 #13355F #3D135F
monochromatic
#181A05 #2A2C09 #5B5F13 #8C921D #BDC527

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B5F13#FFFFFF#000000##FFFFFF
##5B5F131.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)
#675A03
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#625951
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b5f13;
/* rgb */ color: rgb(91, 95, 19);
/* oklch */ color: oklch(46.7% 0.095 112.6);
Tailwind
colors: {
  custom: {
    50: '#8c8c58',
    500: '#5b5f13',
    950: '#000000',
  },
}
SCSS
$custom: #5b5f13;
$custom-light: #8c8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5f13",
  "rgb": {
    "r": 91,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 63.158,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46708,
    "c": 0.0949,
    "h": 112.6
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#5B5F13
secondary
#3C3797
accent
#3EEA47
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B5F13

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

Preview Lab → · Contrast checker → · Palette generator →

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