#5B5910#5B5910

#5B5910 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.2% C 0.090 H 107.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5B5910
RGBrgb(91, 89, 16)
HSLhsl(58, 70%, 21%)
HSVhsv(58, 82%, 36%)
CMYKcmyk(0%, 2.2%, 82.4%, 64.3%)
CIE-LABlab(36.76, -8.45, 39.22)
CIE-LCHlch(36.76, 40.12, 102.16°)
OKLaboklab(45.19% -0.0276 0.0856)
OKLCHoklch(45.19% 0.09 107.9)
XYZxyz(7.9806, 9.4066, 1.8854)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5910 #10125B
analogous
#5B3310 #5B5910 #375B10
triadic
#5B5910 #105B59 #59105B
tetradic
#5B5910 #105B33 #10125B #5B1037
square
#5B5910 #105B33 #10125B #5B1037
split-complementary
#5B5910 #10375B #33105B
monochromatic
#1A1905 #272607 #5B5910 #8F8C19 #C3BF22

Accessibility & contrast

On white

7.29
#5B5910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5B5910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5910
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5910#FFFFFF#000000##FFFFFF
##5B59101.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615501
Deuteranopia (green-blind)
#625816
Tritanopia (blue-blind)
#62534B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5b5910;
/* rgb */ color: rgb(91, 89, 16);
/* oklch */ color: oklch(45.2% 0.090 107.9);
Tailwind
colors: {
  custom: {
    50: '#8c8755',
    500: '#5b5910',
    950: '#000000',
  },
}
SCSS
$custom: #5b5910;
$custom-light: #8c8755;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5910",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 16
  },
  "hsl": {
    "h": 58.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45189,
    "c": 0.08993,
    "h": 107.9
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#5B5910
secondary
#333594
accent
#40ED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5910

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

Preview Lab → · Contrast checker → · Palette generator →

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