#5B6020#5B6020

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

Color values

HEX#5B6020
RGBrgb(91, 96, 32)
HSLhsl(65, 50%, 25%)
HSVhsv(65, 67%, 38%)
CMYKcmyk(5.2%, 0%, 66.7%, 62.4%)
CIE-LABlab(39.06, -11.49, 34.73)
CIE-LCHlch(39.06, 36.59, 108.31°)
OKLaboklab(47.07% -0.0344 0.0792)
OKLCHoklch(47.07% 0.086 113.5)
XYZxyz(8.7582, 10.6943, 2.9691)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6020 #252060
analogous
#604520 #5B6020 #3B6020
triadic
#5B6020 #205B60 #60205B
tetradic
#5B6020 #206045 #252060 #60203B
square
#5B6020 #206045 #252060 #60203B
split-complementary
#5B6020 #203B60 #452060
monochromatic
#161708 #2F3211 #5B6020 #878E2F #B2BC3F

Accessibility & contrast

On white

6.69
#5B6020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5B6020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6020
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6020#FFFFFF#000000##FFFFFF
##5B60201.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B18
Deuteranopia (green-blind)
#675D24
Tritanopia (blue-blind)
#615A53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b6020;
/* rgb */ color: rgb(91, 96, 32);
/* oklch */ color: oklch(47.1% 0.086 113.5);
Tailwind
colors: {
  custom: {
    50: '#8b8d5f',
    500: '#5b6020',
    950: '#000000',
  },
}
SCSS
$custom: #5b6020;
$custom-light: #8b8d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6020",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 32
  },
  "hsl": {
    "h": 64.688,
    "s": 50,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4707,
    "c": 0.0863,
    "h": 113.5
  },
  "luminance": 0.10694
}

Semantic roles & 50–950 ramp

primary
#5B6020
secondary
#4D4794
accent
#4EDA59
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5B6020

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

Preview Lab → · Contrast checker → · Palette generator →

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