#5C4E18#5C4E18

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

Color values

HEX#5C4E18
RGBrgb(92, 78, 24)
HSLhsl(48, 59%, 23%)
HSVhsv(48, 74%, 36%)
CMYKcmyk(0%, 15.2%, 73.9%, 63.9%)
CIE-LABlab(33.54, -0.98, 32.80)
CIE-LCHlch(33.54, 32.81, 91.71°)
OKLaboklab(42.68% -0.0056 0.0736)
OKLCHoklch(42.68% 0.074 94.4)
XYZxyz(7.3033, 7.7904, 1.9830)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4E18 #18265C
analogous
#5C2C18 #5C4E18 #485C18
triadic
#5C4E18 #185C4E #4E185C
tetradic
#5C4E18 #185C2C #18265C #5C1848
square
#5C4E18 #185C2C #18265C #5C1848
split-complementary
#5C4E18 #18485C #2C185C
monochromatic
#181506 #2B250B #5C4E18 #8D7725 #BDA031

Accessibility & contrast

On white

8.21
#5C4E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5C4E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4E18
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4E18#FFFFFF#000000##FFFFFF
##5C4E181.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C11
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#644743
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c4e18;
/* rgb */ color: rgb(92, 78, 24);
/* oklch */ color: oklch(42.7% 0.074 94.4);
Tailwind
colors: {
  custom: {
    50: '#8d7f58',
    500: '#5c4e18',
    950: '#000000',
  },
}
SCSS
$custom: #5c4e18;
$custom-light: #8d7f58;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4e18",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 47.647,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42679,
    "c": 0.07383,
    "h": 94.4
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#5C4E18
secondary
#3D4F93
accent
#66E246
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5C4E18

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

Preview Lab → · Contrast checker → · Palette generator →

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