#5B6038#5B6038

#5B6038 is a mid, muted yellow. Relative luminance 0.109; OKLCH L 47.4% C 0.060 H 114.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5B6038
RGBrgb(91, 96, 56)
HSLhsl(68, 26%, 30%)
HSVhsv(68, 42%, 38%)
CMYKcmyk(5.2%, 0%, 41.7%, 62.4%)
CIE-LABlab(39.37, -9.00, 22.19)
CIE-LCHlch(39.37, 23.95, 112.07°)
OKLaboklab(47.42% -0.0247 0.0542)
OKLCHoklch(47.42% 0.06 114.5)
XYZxyz(9.2111, 10.8755, 5.3546)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6038 #3D3860
analogous
#605138 #5B6038 #476038
triadic
#5B6038 #385B60 #60385B
tetradic
#5B6038 #386051 #3D3860 #603847
square
#5B6038 #386051 #3D3860 #603847
split-complementary
#5B6038 #384760 #513860
monochromatic
#12130B #363921 #5B6038 #80874F #A0A86A

Accessibility & contrast

On white

6.61
#5B6038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5B6038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6038
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6038#FFFFFF#000000##FFFFFF
##5B60381.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655C35
Deuteranopia (green-blind)
#655D3A
Tritanopia (blue-blind)
#5F5C56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5b6038;
/* rgb */ color: rgb(91, 96, 56);
/* oklch */ color: oklch(47.4% 0.060 114.5);
Tailwind
colors: {
  custom: {
    50: '#8a8d6f',
    500: '#5b6038',
    950: '#000000',
  },
}
SCSS
$custom: #5b6038;
$custom-light: #8a8d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6038",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 56
  },
  "hsl": {
    "h": 67.5,
    "s": 26.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.47417,
    "c": 0.05958,
    "h": 114.5
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#5B6038
secondary
#696390
accent
#65C371
background
#F8F8F6
surface
#F0F0EC
border
#CBCBC7
text
#0C0C07
muted
#7D7D7A

Preview Lab

Preview with #5B6038

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

Preview Lab → · Contrast checker → · Palette generator →

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