#5B651A#5B651A

#5B651A is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.3% C 0.098 H 116.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5B651A
RGBrgb(91, 101, 26)
HSLhsl(68, 59%, 25%)
HSVhsv(68, 74%, 40%)
CMYKcmyk(9.9%, 0%, 74.3%, 60.4%)
CIE-LABlab(40.58, -14.70, 38.98)
CIE-LCHlch(40.58, 41.66, 110.66°)
OKLaboklab(48.28% -0.044 0.0871)
OKLCHoklch(48.28% 0.098 116.8)
XYZxyz(9.1547, 11.6062, 2.7350)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B651A #241A65
analogous
#654A1A #5B651A #36651A
triadic
#5B651A #1A5B65 #651A5B
tetradic
#5B651A #1A654A #241A65 #651A36
square
#5B651A #1A654A #241A65 #651A36
split-complementary
#5B651A #1A3665 #4A1A65
monochromatic
#161806 #2F340D #5B651A #879627 #B3C633

Accessibility & contrast

On white

6.32
#5B651A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B651A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B651A#FFFFFF#000000##FFFFFF
##5B651A1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b651a;
/* rgb */ color: rgb(91, 101, 26);
/* oklch */ color: oklch(48.3% 0.098 116.8);
Tailwind
colors: {
  custom: {
    50: '#8c905c',
    500: '#5b651a',
    950: '#000000',
  },
}
SCSS
$custom: #5b651a;
$custom-light: #8c905c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b651a",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 26
  },
  "hsl": {
    "h": 68,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48275,
    "c": 0.09756,
    "h": 116.8
  },
  "luminance": 0.11606
}

Semantic roles & 50–950 ramp

primary
#5B651A
secondary
#4C409B
accent
#46E25A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B651A

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

Preview Lab → · Contrast checker → · Palette generator →

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