#5B6028#5B6028

#5B6028 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.2% C 0.079 H 113.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5B6028
RGBrgb(91, 96, 40)
HSLhsl(65, 41%, 27%)
HSVhsv(65, 58%, 38%)
CMYKcmyk(5.2%, 0%, 58.3%, 62.4%)
CIE-LABlab(39.14, -10.81, 30.81)
CIE-LCHlch(39.14, 32.65, 109.33°)
OKLaboklab(47.16% -0.0315 0.0719)
OKLCHoklch(47.16% 0.079 113.7)
XYZxyz(8.8804, 10.7432, 3.6129)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6028 #2D2860
analogous
#604928 #5B6028 #3F6028
triadic
#5B6028 #285B60 #60285B
tetradic
#5B6028 #286049 #2D2860 #60283F
square
#5B6028 #286049 #2D2860 #60283F
split-complementary
#5B6028 #283F60 #492860
monochromatic
#141609 #323516 #5B6028 #848B3A #ACB54D

Accessibility & contrast

On white

6.67
#5B6028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B6028
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6028#FFFFFF#000000##FFFFFF
##5B60281.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C22
Deuteranopia (green-blind)
#675D2B
Tritanopia (blue-blind)
#615B54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b6028;
/* rgb */ color: rgb(91, 96, 40);
/* oklch */ color: oklch(47.2% 0.079 113.7);
Tailwind
colors: {
  custom: {
    50: '#8b8d64',
    500: '#5b6028',
    950: '#000000',
  },
}
SCSS
$custom: #5b6028;
$custom-light: #8b8d64;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6028",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 40
  },
  "hsl": {
    "h": 65.357,
    "s": 41.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47164,
    "c": 0.07852,
    "h": 113.7
  },
  "luminance": 0.10743
}

Semantic roles & 50–950 ramp

primary
#5B6028
secondary
#575193
accent
#57D162
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0C05
muted
#7D7D7A

Preview Lab

Preview with #5B6028

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

Preview Lab → · Contrast checker → · Palette generator →

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