#5B6026#5B6026

#5B6026 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.1% C 0.081 H 113.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5B6026
RGBrgb(91, 96, 38)
HSLhsl(65, 43%, 26%)
HSVhsv(65, 60%, 38%)
CMYKcmyk(5.2%, 0%, 60.4%, 62.4%)
CIE-LABlab(39.12, -10.99, 31.82)
CIE-LCHlch(39.12, 33.67, 109.06°)
OKLaboklab(47.14% -0.0322 0.0738)
OKLCHoklch(47.14% 0.081 113.6)
XYZxyz(8.8473, 10.7300, 3.4384)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6026 #2B2660
analogous
#604826 #5B6026 #3E6026
triadic
#5B6026 #265B60 #60265B
tetradic
#5B6026 #266048 #2B2660 #60263E
square
#5B6026 #266048 #2B2660 #60263E
split-complementary
#5B6026 #263E60 #482660
monochromatic
#151609 #313415 #5B6026 #858C37 #AEB749

Accessibility & contrast

On white

6.68
#5B6026 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5B6026 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6026
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6026#FFFFFF#000000##FFFFFF
##5B60261.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C20
Deuteranopia (green-blind)
#675D29
Tritanopia (blue-blind)
#615B53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b6026;
/* rgb */ color: rgb(91, 96, 38);
/* oklch */ color: oklch(47.1% 0.081 113.6);
Tailwind
colors: {
  custom: {
    50: '#8b8d63',
    500: '#5b6026',
    950: '#000000',
  },
}
SCSS
$custom: #5b6026;
$custom-light: #8b8d63;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6026",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 38
  },
  "hsl": {
    "h": 65.172,
    "s": 43.284,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47138,
    "c": 0.08058,
    "h": 113.6
  },
  "luminance": 0.1073
}

Semantic roles & 50–950 ramp

primary
#5B6026
secondary
#554F93
accent
#55D360
background
#F8F8F5
surface
#F0F0EA
border
#CBCBC6
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5B6026

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

Preview Lab → · Contrast checker → · Palette generator →

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