#5B5B0F#5B5B0F

#5B5B0F is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.7% C 0.093 H 109.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5B5B0F
RGBrgb(91, 91, 15)
HSLhsl(60, 72%, 21%)
HSVhsv(60, 84%, 36%)
CMYKcmyk(0%, 0%, 83.5%, 64.3%)
CIE-LABlab(37.37, -9.65, 40.12)
CIE-LCHlch(37.37, 41.26, 103.52°)
OKLaboklab(45.68% -0.031 0.0873)
OKLCHoklch(45.68% 0.093 109.6)
XYZxyz(8.1420, 9.7411, 1.9032)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5B0F #0F0F5B
analogous
#5B350F #5B5B0F #355B0F
triadic
#5B5B0F #0F5B5B #5B0F5B
tetradic
#5B5B0F #0F5B35 #0F0F5B #5B0F35
square
#5B5B0F #0F5B35 #0F0F5B #5B0F35
split-complementary
#5B5B0F #0F355B #350F5B
monochromatic
#1A1A04 #262606 #5B5B0F #909018 #C4C420

Accessibility & contrast

On white

7.12
#5B5B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5B5B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5B0F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5B0F#FFFFFF#000000##FFFFFF
##5B5B0F1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#645916
Tritanopia (blue-blind)
#62554D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5b5b0f;
/* rgb */ color: rgb(91, 91, 15);
/* oklch */ color: oklch(45.7% 0.093 109.6);
Tailwind
colors: {
  custom: {
    50: '#8c8955',
    500: '#5b5b0f',
    950: '#000000',
  },
}
SCSS
$custom: #5b5b0f;
$custom-light: #8c8955;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5b0f",
  "rgb": {
    "r": 91,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 60,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.45681,
    "c": 0.09266,
    "h": 109.6
  },
  "luminance": 0.09741
}

Semantic roles & 50–950 ramp

primary
#5B5B0F
secondary
#313195
accent
#39EE39
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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