#5D4E18#5D4E18

#5D4E18 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.8% C 0.074 H 93.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#5D4E18
RGBrgb(93, 78, 24)
HSLhsl(47, 59%, 23%)
HSVhsv(47, 74%, 36%)
CMYKcmyk(0%, 16.1%, 74.2%, 63.5%)
CIE-LABlab(33.65, -0.48, 32.95)
CIE-LCHlch(33.65, 32.95, 90.84°)
OKLaboklab(42.79% -0.0043 0.0739)
OKLCHoklch(42.79% 0.074 93.3)
XYZxyz(7.4038, 7.8423, 1.9877)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E18 #18275D
analogous
#5D2C18 #5D4E18 #495D18
triadic
#5D4E18 #185D4E #4E185D
tetradic
#5D4E18 #185D2C #18275D #5D1849
square
#5D4E18 #185D2C #18275D #5D1849
split-complementary
#5D4E18 #18495D #2C185D
monochromatic
#181406 #2C250B #5D4E18 #8E7725 #BEA031

Accessibility & contrast

On white

8.18
#5D4E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D4E18
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E18#FFFFFF#000000##FFFFFF
##5D4E181.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D11
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#654743
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d4e18;
/* rgb */ color: rgb(93, 78, 24);
/* oklch */ color: oklch(42.8% 0.074 93.3);
Tailwind
colors: {
  custom: {
    50: '#8e7f58',
    500: '#5d4e18',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e18;
$custom-light: #8e7f58;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e18",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 46.957,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.07401,
    "h": 93.3
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#5D4E18
secondary
#3D5093
accent
#68E246
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5D4E18

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

Preview Lab → · Contrast checker → · Palette generator →

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