#5D5911#5D5911

#5D5911 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.4% C 0.089 H 106.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5D5911
RGBrgb(93, 89, 17)
HSLhsl(57, 69%, 22%)
HSVhsv(57, 82%, 36%)
CMYKcmyk(0%, 4.3%, 81.7%, 63.5%)
CIE-LABlab(36.95, -7.42, 39.11)
CIE-LCHlch(36.95, 39.80, 100.74°)
OKLaboklab(45.4% -0.0247 0.0855)
OKLCHoklch(45.4% 0.089 106.1)
XYZxyz(8.1881, 9.5127, 1.9350)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5911 #11155D
analogous
#5D3311 #5D5911 #3B5D11
triadic
#5D5911 #115D59 #59115D
tetradic
#5D5911 #115D33 #11155D #5D113B
square
#5D5911 #115D33 #11155D #5D113B
split-complementary
#5D5911 #113B5D #33115D
monochromatic
#1A1905 #292708 #5D5911 #918B1A #C4BC24

Accessibility & contrast

On white

7.24
#5D5911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5D5911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5911
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5911#FFFFFF#000000##FFFFFF
##5D59111.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615502
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#64524B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d5911;
/* rgb */ color: rgb(93, 89, 17);
/* oklch */ color: oklch(45.4% 0.089 106.1);
Tailwind
colors: {
  custom: {
    50: '#8e8756',
    500: '#5d5911',
    950: '#000000',
  },
}
SCSS
$custom: #5d5911;
$custom-light: #8e8756;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5911",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 17
  },
  "hsl": {
    "h": 56.842,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45395,
    "c": 0.08899,
    "h": 106.1
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#5D5911
secondary
#343996
accent
#45EC3C
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5D5911

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

Preview Lab → · Contrast checker → · Palette generator →

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