#5B6411#5B6411

#5B6411 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.0% C 0.102 H 115.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5B6411
RGBrgb(91, 100, 17)
HSLhsl(67, 71%, 23%)
HSVhsv(67, 83%, 39%)
CMYKcmyk(9%, 0%, 83%, 60.8%)
CIE-LABlab(40.21, -14.62, 42.00)
CIE-LCHlch(40.21, 44.48, 109.20°)
OKLaboklab(47.96% -0.0446 0.0917)
OKLCHoklch(47.96% 0.102 115.9)
XYZxyz(8.9730, 11.3791, 2.2539)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6411 #1A1164
analogous
#644311 #5B6411 #316411
triadic
#5B6411 #115B64 #64115B
tetradic
#5B6411 #116443 #1A1164 #641131
square
#5B6411 #116443 #1A1164 #641131
split-complementary
#5B6411 #113164 #431164
monochromatic
#181A04 #2B3008 #5B6411 #8B981A #BACD23

Accessibility & contrast

On white

6.41
#5B6411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5B6411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6411
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6411#FFFFFF#000000##FFFFFF
##5B64111.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#6B5F19
Tritanopia (blue-blind)
#615E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b6411;
/* rgb */ color: rgb(91, 100, 17);
/* oklch */ color: oklch(48.0% 0.102 115.9);
Tailwind
colors: {
  custom: {
    50: '#8c9058',
    500: '#5b6411',
    950: '#000000',
  },
}
SCSS
$custom: #5b6411;
$custom-light: #8c9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6411",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 17
  },
  "hsl": {
    "h": 66.506,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47959,
    "c": 0.10202,
    "h": 115.9
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#5B6411
secondary
#40359C
accent
#3AEE4E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6411

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

Preview Lab → · Contrast checker → · Palette generator →

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