#5B6510#5B6510

#5B6510 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.2% C 0.104 H 116.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5B6510
RGBrgb(91, 101, 16)
HSLhsl(67, 73%, 23%)
HSVhsv(67, 84%, 40%)
CMYKcmyk(9.9%, 0%, 84.2%, 60.4%)
CIE-LABlab(40.52, -15.22, 42.60)
CIE-LCHlch(40.52, 45.24, 109.65°)
OKLaboklab(48.21% -0.0464 0.0928)
OKLCHoklch(48.21% 0.104 116.5)
XYZxyz(9.0618, 11.5690, 2.2458)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6510 #1A1065
analogous
#654410 #5B6510 #306510
triadic
#5B6510 #105B65 #65105B
tetradic
#5B6510 #106544 #1A1065 #651030
square
#5B6510 #106544 #1A1065 #651030
split-complementary
#5B6510 #103065 #441065
monochromatic
#181A04 #2B3008 #5B6510 #8B9A18 #BACF21

Accessibility & contrast

On white

6.34
#5B6510 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5B6510 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6510
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6510#FFFFFF#000000##FFFFFF
##5B65101.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#6C6018
Tritanopia (blue-blind)
#615F56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b6510;
/* rgb */ color: rgb(91, 101, 16);
/* oklch */ color: oklch(48.2% 0.104 116.5);
Tailwind
colors: {
  custom: {
    50: '#8c9057',
    500: '#5b6510',
    950: '#000000',
  },
}
SCSS
$custom: #5b6510;
$custom-light: #8c9057;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6510",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 16
  },
  "hsl": {
    "h": 67.059,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.48207,
    "c": 0.10375,
    "h": 116.5
  },
  "luminance": 0.11569
}

Semantic roles & 50–950 ramp

primary
#5B6510
secondary
#40339D
accent
#38EF4E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B6510

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

Preview Lab → · Contrast checker → · Palette generator →

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