#5B6024#5B6024

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

Color values

HEX#5B6024
RGBrgb(91, 96, 36)
HSLhsl(65, 45%, 26%)
HSVhsv(65, 63%, 38%)
CMYKcmyk(5.2%, 0%, 62.5%, 62.4%)
CIE-LABlab(39.10, -11.17, 32.81)
CIE-LCHlch(39.10, 34.66, 108.80°)
OKLaboklab(47.11% -0.033 0.0757)
OKLCHoklch(47.11% 0.083 113.6)
XYZxyz(8.8159, 10.7174, 3.2730)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6024 #292460
analogous
#604724 #5B6024 #3D6024
triadic
#5B6024 #245B60 #60245B
tetradic
#5B6024 #246047 #292460 #60243D
square
#5B6024 #246047 #292460 #60243D
split-complementary
#5B6024 #243D60 #472460
monochromatic
#151608 #313313 #5B6024 #858D35 #AFB945

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6024#FFFFFF#000000##FFFFFF
##5B60241.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b6024;
/* rgb */ color: rgb(91, 96, 36);
/* oklch */ color: oklch(47.1% 0.083 113.6);
Tailwind
colors: {
  custom: {
    50: '#8b8d61',
    500: '#5b6024',
    950: '#000000',
  },
}
SCSS
$custom: #5b6024;
$custom-light: #8b8d61;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6024",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 36
  },
  "hsl": {
    "h": 65,
    "s": 45.455,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47114,
    "c": 0.08257,
    "h": 113.6
  },
  "luminance": 0.10717
}

Semantic roles & 50–950 ramp

primary
#5B6024
secondary
#524C94
accent
#53D55E
background
#F8F8F5
surface
#F0F0EA
border
#CBCBC6
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5B6024

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

Preview Lab → · Contrast checker → · Palette generator →

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