#5B4F10#5B4F10

#5B4F10 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.7% C 0.080 H 97.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#5B4F10
RGBrgb(91, 79, 16)
HSLhsl(50, 70%, 21%)
HSVhsv(50, 82%, 36%)
CMYKcmyk(0%, 13.2%, 82.4%, 64.3%)
CIE-LABlab(33.68, -2.52, 36.39)
CIE-LCHlch(33.68, 36.48, 93.96°)
OKLaboklab(42.74% -0.0109 0.0796)
OKLCHoklch(42.74% 0.08 97.8)
XYZxyz(7.2043, 7.8539, 1.6266)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4F10 #101C5B
analogous
#5B2910 #5B4F10 #415B10
triadic
#5B4F10 #105B4F #4F105B
tetradic
#5B4F10 #105B29 #101C5B #5B1041
square
#5B4F10 #105B29 #101C5B #5B1041
split-complementary
#5B4F10 #10415B #29105B
monochromatic
#1A1705 #272207 #5B4F10 #8F7C19 #C3A922

Accessibility & contrast

On white

8.17
#5B4F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5B4F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4F10
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4F10#FFFFFF#000000##FFFFFF
##5B4F101.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D04
Deuteranopia (green-blind)
#5B5114
Tritanopia (blue-blind)
#634843
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b4f10;
/* rgb */ color: rgb(91, 79, 16);
/* oklch */ color: oklch(42.7% 0.080 97.8);
Tailwind
colors: {
  custom: {
    50: '#8c8054',
    500: '#5b4f10',
    950: '#000000',
  },
}
SCSS
$custom: #5b4f10;
$custom-light: #8c8054;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4f10",
  "rgb": {
    "r": 91,
    "g": 79,
    "b": 16
  },
  "hsl": {
    "h": 50.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42741,
    "c": 0.08031,
    "h": 97.8
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#5B4F10
secondary
#334294
accent
#57ED3B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B4F10

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

Preview Lab → · Contrast checker → · Palette generator →

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