#5B5B10#5B5B10

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

Color values

HEX#5B5B10
RGBrgb(91, 91, 16)
HSLhsl(60, 70%, 21%)
HSVhsv(60, 82%, 36%)
CMYKcmyk(0%, 0%, 82.4%, 64.3%)
CIE-LABlab(37.38, -9.60, 39.78)
CIE-LCHlch(37.38, 40.92, 103.57°)
OKLaboklab(45.69% -0.0308 0.0868)
OKLCHoklch(45.69% 0.092 109.5)
XYZxyz(8.1493, 9.7440, 1.9416)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5B10 #10105B
analogous
#5B3510 #5B5B10 #355B10
triadic
#5B5B10 #105B5B #5B105B
tetradic
#5B5B10 #105B35 #10105B #5B1035
square
#5B5B10 #105B35 #10105B #5B1035
split-complementary
#5B5B10 #10355B #35105B
monochromatic
#1A1A05 #272707 #5B5B10 #8F8F19 #C3C322

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B5B10#FFFFFF#000000##FFFFFF
##5B5B101.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: #5b5b10;
/* rgb */ color: rgb(91, 91, 16);
/* oklch */ color: oklch(45.7% 0.092 109.5);
Tailwind
colors: {
  custom: {
    50: '#8c8956',
    500: '#5b5b10',
    950: '#000000',
  },
}
SCSS
$custom: #5b5b10;
$custom-light: #8c8956;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5b10",
  "rgb": {
    "r": 91,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 60,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45687,
    "c": 0.09211,
    "h": 109.5
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#5B5B10
secondary
#333394
accent
#3BED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5B10

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

Preview Lab → · Contrast checker → · Palette generator →

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