#5B5C10#5B5C10

#5B5C10 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.9% C 0.093 H 110.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5B5C10
RGBrgb(91, 92, 16)
HSLhsl(61, 70%, 21%)
HSVhsv(61, 83%, 36%)
CMYKcmyk(1.1%, 0%, 82.6%, 63.9%)
CIE-LABlab(37.69, -10.18, 40.06)
CIE-LCHlch(37.69, 41.34, 104.25°)
OKLaboklab(45.94% -0.0324 0.0874)
OKLCHoklch(45.94% 0.093 110.4)
XYZxyz(8.2354, 9.9161, 1.9703)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5C10 #11105C
analogous
#5C3710 #5B5C10 #355C10
triadic
#5B5C10 #105B5C #5C105B
tetradic
#5B5C10 #105C37 #11105C #5C1035
square
#5B5C10 #105C37 #11105C #5C1035
split-complementary
#5B5C10 #10355C #37105C
monochromatic
#1A1A05 #272807 #5B5C10 #8F9019 #C2C422

Accessibility & contrast

On white

7.04
#5B5C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5B5C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5C10
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5C10#FFFFFF#000000##FFFFFF
##5B5C101.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645800
Deuteranopia (green-blind)
#655A17
Tritanopia (blue-blind)
#62564E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5b5c10;
/* rgb */ color: rgb(91, 92, 16);
/* oklch */ color: oklch(45.9% 0.093 110.4);
Tailwind
colors: {
  custom: {
    50: '#8c8956',
    500: '#5b5c10',
    950: '#000000',
  },
}
SCSS
$custom: #5b5c10;
$custom-light: #8c8956;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5c10",
  "rgb": {
    "r": 91,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 60.789,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45937,
    "c": 0.09322,
    "h": 110.4
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#5B5C10
secondary
#343395
accent
#3BED3D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5C10

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

Preview Lab → · Contrast checker → · Palette generator →

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