#5B5814#5B5814

#5B5814 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 45.0% C 0.086 H 106.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5B5814
RGBrgb(91, 88, 20)
HSLhsl(57, 64%, 22%)
HSVhsv(57, 78%, 36%)
CMYKcmyk(0%, 3.3%, 78%, 64.3%)
CIE-LABlab(36.47, -7.67, 37.43)
CIE-LCHlch(36.47, 38.21, 101.59°)
OKLaboklab(44.97% -0.025 0.0826)
OKLCHoklch(44.97% 0.086 106.8)
XYZxyz(7.9307, 9.2544, 2.0302)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5814 #14175B
analogous
#5B3514 #5B5814 #3B5B14
triadic
#5B5814 #145B58 #58145B
tetradic
#5B5814 #145B35 #14175B #5B143B
square
#5B5814 #145B35 #14175B #5B143B
split-complementary
#5B5814 #143B5B #35145B
monochromatic
#191806 #292709 #5B5814 #8D891F #BFB92A

Accessibility & contrast

On white

7.37
#5B5814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5B5814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5814
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5814#FFFFFF#000000##FFFFFF
##5B58141.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605407
Deuteranopia (green-blind)
#615719
Tritanopia (blue-blind)
#62524B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5b5814;
/* rgb */ color: rgb(91, 88, 20);
/* oklch */ color: oklch(45.0% 0.086 106.8);
Tailwind
colors: {
  custom: {
    50: '#8c8657',
    500: '#5b5814',
    950: '#000000',
  },
}
SCSS
$custom: #5b5814;
$custom-light: #8c8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5814",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 57.465,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44969,
    "c": 0.08634,
    "h": 106.8
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#5B5814
secondary
#383C93
accent
#48E741
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5814

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

Preview Lab → · Contrast checker → · Palette generator →

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