#5B651C#5B651C

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

Color values

HEX#5B651C
RGBrgb(91, 101, 28)
HSLhsl(68, 57%, 25%)
HSVhsv(68, 72%, 40%)
CMYKcmyk(9.9%, 0%, 72.3%, 60.4%)
CIE-LABlab(40.60, -14.57, 38.15)
CIE-LCHlch(40.60, 40.84, 110.90°)
OKLaboklab(48.29% -0.0434 0.0857)
OKLCHoklch(48.29% 0.096 116.9)
XYZxyz(9.1779, 11.6155, 2.8569)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B651C #261C65
analogous
#654A1C #5B651C #36651C
triadic
#5B651C #1C5B65 #651C5B
tetradic
#5B651C #1C654A #261C65 #651C36
square
#5B651C #1C654A #261C65 #651C36
split-complementary
#5B651C #1C3665 #4A1C65
monochromatic
#161807 #30350F #5B651C #869529 #B1C537

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B651C#FFFFFF#000000##FFFFFF
##5B651C1.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)
#6C5F11
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#615F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b651c;
/* rgb */ color: rgb(91, 101, 28);
/* oklch */ color: oklch(48.3% 0.096 116.9);
Tailwind
colors: {
  custom: {
    50: '#8c905d',
    500: '#5b651c',
    950: '#000000',
  },
}
SCSS
$custom: #5b651c;
$custom-light: #8c905d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b651c",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 28
  },
  "hsl": {
    "h": 68.219,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48292,
    "c": 0.09606,
    "h": 116.9
  },
  "luminance": 0.11615
}

Semantic roles & 50–950 ramp

primary
#5B651C
secondary
#4F439A
accent
#48E05D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B651C

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

Preview Lab → · Contrast checker → · Palette generator →

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