#5B6511#5B6511

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

Color values

HEX#5B6511
RGBrgb(91, 101, 17)
HSLhsl(67, 71%, 23%)
HSVhsv(67, 83%, 40%)
CMYKcmyk(9.9%, 0%, 83.2%, 60.4%)
CIE-LABlab(40.53, -15.17, 42.29)
CIE-LCHlch(40.53, 44.93, 109.74°)
OKLaboklab(48.21% -0.0462 0.0923)
OKLCHoklch(48.21% 0.103 116.6)
XYZxyz(9.0695, 11.5721, 2.2861)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6511 #1B1165
analogous
#654511 #5B6511 #316511
triadic
#5B6511 #115B65 #65115B
tetradic
#5B6511 #116545 #1B1165 #651131
square
#5B6511 #116545 #1B1165 #651131
split-complementary
#5B6511 #113165 #451165
monochromatic
#181A04 #2C3108 #5B6511 #8A991A #B9CE23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6511#FFFFFF#000000##FFFFFF
##5B65111.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)
#6C6019
Tritanopia (blue-blind)
#615F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b6511;
/* rgb */ color: rgb(91, 101, 17);
/* oklch */ color: oklch(48.2% 0.103 116.6);
Tailwind
colors: {
  custom: {
    50: '#8c9058',
    500: '#5b6511',
    950: '#000000',
  },
}
SCSS
$custom: #5b6511;
$custom-light: #8c9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6511",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 67.143,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48212,
    "c": 0.10323,
    "h": 116.6
  },
  "luminance": 0.11572
}

Semantic roles & 50–950 ramp

primary
#5B6511
secondary
#41359D
accent
#3AEE4F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6511

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

Preview Lab → · Contrast checker → · Palette generator →

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