#8D815B#8D815B

#8D815B is a mid, muted yellow. Relative luminance 0.221; OKLCH L 60.4% C 0.056 H 92.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8D815B
RGBrgb(141, 129, 91)
HSLhsl(46, 22%, 45%)
HSVhsv(46, 35%, 55%)
CMYKcmyk(0%, 8.5%, 35.5%, 44.7%)
CIE-LABlab(54.15, -1.45, 22.29)
CIE-LCHlch(54.15, 22.33, 93.71°)
OKLaboklab(60.43% -0.0026 0.0555)
OKLCHoklch(60.43% 0.056 92.6)
XYZxyz(20.7234, 22.1192, 13.0733)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D815B #5B678D
analogous
#8D685B #8D815B #808D5B
triadic
#8D815B #5B8D81 #815B8D
tetradic
#8D815B #5B8D68 #5B678D #8D5B80
square
#8D815B #5B8D68 #5B678D #8D5B80
split-complementary
#8D815B #5B808D #685B8D
monochromatic
#433D2B #685F43 #8D815B #AA9F7B #C2BAA0

Accessibility & contrast

On white

3.87
#8D815B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8D815B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D815B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D815B#FFFFFF#000000##000000
##8D815B1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897F58
Deuteranopia (green-blind)
#8C835C
Tritanopia (blue-blind)
#957B77
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d815b;
/* rgb */ color: rgb(141, 129, 91);
/* oklch */ color: oklch(60.4% 0.056 92.6);
Tailwind
colors: {
  custom: {
    50: '#afa589',
    500: '#8d815b',
    950: '#000000',
  },
}
SCSS
$custom: #8d815b;
$custom-light: #afa589;
$custom-dark: #000000;
JSON
{
  "hex": "#8d815b",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 91
  },
  "hsl": {
    "h": 45.6,
    "s": 21.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6043,
    "c": 0.05558,
    "h": 92.6
  },
  "luminance": 0.22119
}

Semantic roles & 50–950 ramp

primary
#8D815B
secondary
#949BB0
accent
#7EBE6A
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0B
muted
#7F7F7C

Preview Lab

Preview with #8D815B

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

Preview Lab → · Contrast checker → · Palette generator →

#8D815B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva