#5B6311#5B6311

#5B6311 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 47.7% C 0.101 H 115.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5B6311
RGBrgb(91, 99, 17)
HSLhsl(66, 71%, 23%)
HSVhsv(66, 83%, 39%)
CMYKcmyk(8.1%, 0%, 82.8%, 61.2%)
CIE-LABlab(39.90, -14.07, 41.72)
CIE-LCHlch(39.90, 44.03, 108.64°)
OKLaboklab(47.71% -0.0431 0.0911)
OKLCHoklch(47.71% 0.101 115.3)
XYZxyz(8.8777, 11.1885, 2.2221)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6311 #191163
analogous
#634211 #5B6311 #326311
triadic
#5B6311 #115B63 #63115B
tetradic
#5B6311 #116342 #191163 #631132
square
#5B6311 #116342 #191163 #631132
split-complementary
#5B6311 #113263 #421163
monochromatic
#181A04 #2B2F08 #5B6311 #8B971A #BBCB23

Accessibility & contrast

On white

6.49
#5B6311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5B6311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6311
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6311#FFFFFF#000000##FFFFFF
##5B63111.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#6A5F19
Tritanopia (blue-blind)
#615D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b6311;
/* rgb */ color: rgb(91, 99, 17);
/* oklch */ color: oklch(47.7% 0.101 115.3);
Tailwind
colors: {
  custom: {
    50: '#8c8f57',
    500: '#5b6311',
    950: '#000000',
  },
}
SCSS
$custom: #5b6311;
$custom-light: #8c8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6311",
  "rgb": {
    "r": 91,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 65.854,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47705,
    "c": 0.10082,
    "h": 115.3
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#5B6311
secondary
#3F349B
accent
#3AED4C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B6311

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

Preview Lab → · Contrast checker → · Palette generator →

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