#5B6610#5B6610

#5B6610 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.5% C 0.105 H 117.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5B6610
RGBrgb(91, 102, 16)
HSLhsl(68, 73%, 23%)
HSVhsv(68, 84%, 40%)
CMYKcmyk(10.8%, 0%, 84.3%, 60%)
CIE-LABlab(40.84, -15.76, 42.89)
CIE-LCHlch(40.84, 45.69, 110.18°)
OKLaboklab(48.46% -0.0479 0.0934)
OKLCHoklch(48.46% 0.105 117.1)
XYZxyz(9.1595, 11.7644, 2.2784)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6610 #1B1066
analogous
#664610 #5B6610 #306610
triadic
#5B6610 #105B66 #66105B
tetradic
#5B6610 #106646 #1B1066 #661030
square
#5B6610 #106646 #1B1066 #661030
split-complementary
#5B6610 #103066 #461066
monochromatic
#181A04 #2C3108 #5B6610 #8A9B18 #B9D021

Accessibility & contrast

On white

6.26
#5B6610 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5B6610 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6610
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6610#FFFFFF#000000##FFFFFF
##5B66101.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6D6119
Tritanopia (blue-blind)
#616056
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b6610;
/* rgb */ color: rgb(91, 102, 16);
/* oklch */ color: oklch(48.5% 0.105 117.1);
Tailwind
colors: {
  custom: {
    50: '#8c9157',
    500: '#5b6610',
    950: '#000000',
  },
}
SCSS
$custom: #5b6610;
$custom-light: #8c9157;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6610",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 16
  },
  "hsl": {
    "h": 67.674,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48461,
    "c": 0.10497,
    "h": 117.1
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#5B6610
secondary
#41339E
accent
#38F050
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6610

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

Preview Lab → · Contrast checker → · Palette generator →

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