#5B6513#5B6513

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

Color values

HEX#5B6513
RGBrgb(91, 101, 19)
HSLhsl(67, 68%, 24%)
HSVhsv(67, 81%, 40%)
CMYKcmyk(9.9%, 0%, 81.2%, 60.4%)
CIE-LABlab(40.54, -15.08, 41.62)
CIE-LCHlch(40.54, 44.27, 109.92°)
OKLaboklab(48.22% -0.0457 0.0913)
OKLCHoklch(48.22% 0.102 116.6)
XYZxyz(9.0858, 11.5786, 2.3722)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6513 #1D1365
analogous
#654613 #5B6513 #326513
triadic
#5B6513 #135B65 #65135B
tetradic
#5B6513 #136546 #1D1365 #651332
square
#5B6513 #136546 #1D1365 #651332
split-complementary
#5B6513 #133265 #461365
monochromatic
#171A05 #2D3109 #5B6513 #89991D #B8CC26

Accessibility & contrast

On white

6.33
#5B6513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5B6513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6513
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6513#FFFFFF#000000##FFFFFF
##5B65131.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F01
Deuteranopia (green-blind)
#6C601B
Tritanopia (blue-blind)
#615F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b6513;
/* rgb */ color: rgb(91, 101, 19);
/* oklch */ color: oklch(48.2% 0.102 116.6);
Tailwind
colors: {
  custom: {
    50: '#8c9059',
    500: '#5b6513',
    950: '#000000',
  },
}
SCSS
$custom: #5b6513;
$custom-light: #8c9059;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6513",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 19
  },
  "hsl": {
    "h": 67.317,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.48224,
    "c": 0.10212,
    "h": 116.6
  },
  "luminance": 0.11579
}

Semantic roles & 50–950 ramp

primary
#5B6513
secondary
#44379D
accent
#3DEB52
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6513

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

Preview Lab → · Contrast checker → · Palette generator →

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