#5B6027#5B6027

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

Color values

HEX#5B6027
RGBrgb(91, 96, 39)
HSLhsl(65, 42%, 26%)
HSVhsv(65, 59%, 38%)
CMYKcmyk(5.2%, 0%, 59.4%, 62.4%)
CIE-LABlab(39.13, -10.90, 31.32)
CIE-LCHlch(39.13, 33.16, 109.20°)
OKLaboklab(47.15% -0.0319 0.0729)
OKLCHoklch(47.15% 0.08 113.6)
XYZxyz(8.8636, 10.7365, 3.5245)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6027 #2C2760
analogous
#604927 #5B6027 #3F6027
triadic
#5B6027 #275B60 #60275B
tetradic
#5B6027 #276049 #2C2760 #60273F
square
#5B6027 #276049 #2C2760 #60273F
split-complementary
#5B6027 #273F60 #492760
monochromatic
#151609 #323415 #5B6027 #848C39 #ADB64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6027#FFFFFF#000000##FFFFFF
##5B60271.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)
#675C21
Deuteranopia (green-blind)
#675D2A
Tritanopia (blue-blind)
#615B53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b6027;
/* rgb */ color: rgb(91, 96, 39);
/* oklch */ color: oklch(47.2% 0.080 113.6);
Tailwind
colors: {
  custom: {
    50: '#8b8d63',
    500: '#5b6027',
    950: '#000000',
  },
}
SCSS
$custom: #5b6027;
$custom-light: #8b8d63;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6027",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 39
  },
  "hsl": {
    "h": 65.263,
    "s": 42.222,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.07956,
    "h": 113.6
  },
  "luminance": 0.10736
}

Semantic roles & 50–950 ramp

primary
#5B6027
secondary
#565093
accent
#56D261
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0C05
muted
#7D7D7A

Preview Lab

Preview with #5B6027

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

Preview Lab → · Contrast checker → · Palette generator →

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