#5B5F10#5B5F10

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

Color values

HEX#5B5F10
RGBrgb(91, 95, 16)
HSLhsl(63, 71%, 22%)
HSVhsv(63, 83%, 37%)
CMYKcmyk(4.2%, 0%, 83.2%, 62.7%)
CIE-LABlab(38.63, -11.88, 40.91)
CIE-LCHlch(38.63, 42.60, 106.19°)
OKLaboklab(46.69% -0.0371 0.0892)
OKLCHoklch(46.69% 0.097 112.6)
XYZxyz(8.5004, 10.4462, 2.0586)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5F10 #14105F
analogous
#5F3C10 #5B5F10 #345F10
triadic
#5B5F10 #105B5F #5F105B
tetradic
#5B5F10 #105F3C #14105F #5F1034
square
#5B5F10 #105F3C #14105F #5F1034
split-complementary
#5B5F10 #10345F #3C105F
monochromatic
#191A04 #292B07 #5B5F10 #8D9319 #BFC822

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B5F10#FFFFFF#000000##FFFFFF
##5B5F101.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)
#675C17
Tritanopia (blue-blind)
#625950
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b5f10;
/* rgb */ color: rgb(91, 95, 16);
/* oklch */ color: oklch(46.7% 0.097 112.6);
Tailwind
colors: {
  custom: {
    50: '#8c8c56',
    500: '#5b5f10',
    950: '#000000',
  },
}
SCSS
$custom: #5b5f10;
$custom-light: #8c8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5f10",
  "rgb": {
    "r": 91,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 63.038,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46689,
    "c": 0.09664,
    "h": 112.6
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#5B5F10
secondary
#383398
accent
#3AEE43
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B5F10

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

Preview Lab → · Contrast checker → · Palette generator →

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