#5B5010#5B5010

#5B5010 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.0% C 0.081 H 99.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5B5010
RGBrgb(91, 80, 16)
HSLhsl(51, 70%, 21%)
HSVhsv(51, 82%, 36%)
CMYKcmyk(0%, 12.1%, 82.4%, 64.3%)
CIE-LABlab(33.98, -3.13, 36.67)
CIE-LCHlch(33.98, 36.81, 94.87°)
OKLaboklab(42.98% -0.0126 0.0802)
OKLCHoklch(42.98% 0.081 99)
XYZxyz(7.2769, 7.9992, 1.6508)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5010 #101B5B
analogous
#5B2A10 #5B5010 #405B10
triadic
#5B5010 #105B50 #50105B
tetradic
#5B5010 #105B2A #101B5B #5B1040
square
#5B5010 #105B2A #101B5B #5B1040
split-complementary
#5B5010 #10405B #2A105B
monochromatic
#1A1705 #272207 #5B5010 #8F7E19 #C3AC22

Accessibility & contrast

On white

8.08
#5B5010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5B5010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5010
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5010#FFFFFF#000000##FFFFFF
##5B50101.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E04
Deuteranopia (green-blind)
#5C5214
Tritanopia (blue-blind)
#634944
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5b5010;
/* rgb */ color: rgb(91, 80, 16);
/* oklch */ color: oklch(43.0% 0.081 99.0);
Tailwind
colors: {
  custom: {
    50: '#8c8054',
    500: '#5b5010',
    950: '#000000',
  },
}
SCSS
$custom: #5b5010;
$custom-light: #8c8054;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5010",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 51.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42982,
    "c": 0.08116,
    "h": 99
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#5B5010
secondary
#334194
accent
#55ED3B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5010

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

Preview Lab → · Contrast checker → · Palette generator →

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