#5B651F#5B651F

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

Color values

HEX#5B651F
RGBrgb(91, 101, 31)
HSLhsl(69, 53%, 26%)
HSVhsv(69, 69%, 40%)
CMYKcmyk(9.9%, 0%, 69.3%, 60.4%)
CIE-LABlab(40.62, -14.36, 36.85)
CIE-LCHlch(40.62, 39.55, 111.29°)
OKLaboklab(48.32% -0.0425 0.0835)
OKLCHoklch(48.32% 0.094 117)
XYZxyz(9.2156, 11.6305, 3.0555)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B651F #291F65
analogous
#654C1F #5B651F #38651F
triadic
#5B651F #1F5B65 #651F5B
tetradic
#5B651F #1F654C #291F65 #651F38
square
#5B651F #1F654C #291F65 #651F38
split-complementary
#5B651F #1F3865 #4C1F65
monochromatic
#151707 #313611 #5B651F #85942D #AFC33C

Accessibility & contrast

On white

6.31
#5B651F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5B651F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B651F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B651F#FFFFFF#000000##FFFFFF
##5B651F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F15
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#615F57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b651f;
/* rgb */ color: rgb(91, 101, 31);
/* oklch */ color: oklch(48.3% 0.094 117.0);
Tailwind
colors: {
  custom: {
    50: '#8c905f',
    500: '#5b651f',
    950: '#000000',
  },
}
SCSS
$custom: #5b651f;
$custom-light: #8c905f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b651f",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 31
  },
  "hsl": {
    "h": 68.571,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48319,
    "c": 0.09366,
    "h": 117
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#5B651F
secondary
#524699
accent
#4BDC60
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5B651F

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

Preview Lab → · Contrast checker → · Palette generator →

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