#5B6022#5B6022

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

Color values

HEX#5B6022
RGBrgb(91, 96, 34)
HSLhsl(65, 48%, 25%)
HSVhsv(65, 65%, 38%)
CMYKcmyk(5.2%, 0%, 64.6%, 62.4%)
CIE-LABlab(39.08, -11.34, 33.79)
CIE-LCHlch(39.08, 35.64, 108.55°)
OKLaboklab(47.09% -0.0337 0.0775)
OKLCHoklch(47.09% 0.084 113.5)
XYZxyz(8.7862, 10.7055, 3.1166)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6022 #272260
analogous
#604622 #5B6022 #3C6022
triadic
#5B6022 #225B60 #60225B
tetradic
#5B6022 #226046 #272260 #60223C
square
#5B6022 #226046 #272260 #60223C
split-complementary
#5B6022 #223C60 #462260
monochromatic
#151708 #303312 #5B6022 #868D32 #B1BA42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6022#FFFFFF#000000##FFFFFF
##5B60221.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)
#675B1B
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#615A53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b6022;
/* rgb */ color: rgb(91, 96, 34);
/* oklch */ color: oklch(47.1% 0.084 113.5);
Tailwind
colors: {
  custom: {
    50: '#8b8d60',
    500: '#5b6022',
    950: '#000000',
  },
}
SCSS
$custom: #5b6022;
$custom-light: #8b8d60;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6022",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 34
  },
  "hsl": {
    "h": 64.839,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47091,
    "c": 0.08447,
    "h": 113.5
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#5B6022
secondary
#504A94
accent
#51D75B
background
#F8F8F5
surface
#F0F0EA
border
#CBCBC6
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5B6022

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

Preview Lab → · Contrast checker → · Palette generator →

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