#5B6410#5B6410

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

Color values

HEX#5B6410
RGBrgb(91, 100, 16)
HSLhsl(66, 72%, 23%)
HSVhsv(66, 84%, 39%)
CMYKcmyk(9%, 0%, 84%, 60.8%)
CIE-LABlab(40.21, -14.67, 42.32)
CIE-LCHlch(40.21, 44.79, 109.11°)
OKLaboklab(47.95% -0.0448 0.0922)
OKLCHoklch(47.95% 0.103 115.9)
XYZxyz(8.9653, 11.3760, 2.2136)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6410 #191064
analogous
#644310 #5B6410 #316410
triadic
#5B6410 #105B64 #64105B
tetradic
#5B6410 #106443 #191064 #641031
square
#5B6410 #106443 #191064 #641031
split-complementary
#5B6410 #103164 #431064
monochromatic
#181A04 #2B2F08 #5B6410 #8B9918 #BBCE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6410#FFFFFF#000000##FFFFFF
##5B64101.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)
#6B5F18
Tritanopia (blue-blind)
#615E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b6410;
/* rgb */ color: rgb(91, 100, 16);
/* oklch */ color: oklch(48.0% 0.103 115.9);
Tailwind
colors: {
  custom: {
    50: '#8c9057',
    500: '#5b6410',
    950: '#000000',
  },
}
SCSS
$custom: #5b6410;
$custom-light: #8c9057;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6410",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 16
  },
  "hsl": {
    "h": 66.429,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47953,
    "c": 0.10255,
    "h": 115.9
  },
  "luminance": 0.11376
}

Semantic roles & 50–950 ramp

primary
#5B6410
secondary
#3F339D
accent
#39EF4C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B6410

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

Preview Lab → · Contrast checker → · Palette generator →

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