#5B651B#5B651B

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

Color values

HEX#5B651B
RGBrgb(91, 101, 27)
HSLhsl(68, 58%, 25%)
HSVhsv(68, 73%, 40%)
CMYKcmyk(9.9%, 0%, 73.3%, 60.4%)
CIE-LABlab(40.59, -14.64, 38.57)
CIE-LCHlch(40.59, 41.26, 110.78°)
OKLaboklab(48.28% -0.0437 0.0864)
OKLCHoklch(48.28% 0.097 116.8)
XYZxyz(9.1661, 11.6108, 2.7949)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B651B #251B65
analogous
#654A1B #5B651B #36651B
triadic
#5B651B #1B5B65 #651B5B
tetradic
#5B651B #1B654A #251B65 #651B36
square
#5B651B #1B654A #251B65 #651B36
split-complementary
#5B651B #1B3665 #4A1B65
monochromatic
#161806 #2F350E #5B651B #879528 #B2C635

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B651B#FFFFFF#000000##FFFFFF
##5B651B1.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)
#6C5F0F
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#615F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b651b;
/* rgb */ color: rgb(91, 101, 27);
/* oklch */ color: oklch(48.3% 0.097 116.8);
Tailwind
colors: {
  custom: {
    50: '#8c905d',
    500: '#5b651b',
    950: '#000000',
  },
}
SCSS
$custom: #5b651b;
$custom-light: #8c905d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b651b",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 27
  },
  "hsl": {
    "h": 68.108,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48283,
    "c": 0.09682,
    "h": 116.8
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#5B651B
secondary
#4D419A
accent
#47E15C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B651B

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

Preview Lab → · Contrast checker → · Palette generator →

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