#8A875B#8A875B

#8A875B is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.5% C 0.062 H 104.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A875B
RGBrgb(138, 135, 91)
HSLhsl(56, 21%, 45%)
HSVhsv(56, 34%, 54%)
CMYKcmyk(0%, 2.2%, 34.1%, 45.9%)
CIE-LABlab(55.57, -6.06, 24.11)
CIE-LCHlch(55.57, 24.86, 104.11°)
OKLaboklab(61.49% -0.0157 0.0598)
OKLCHoklch(61.49% 0.062 104.8)
XYZxyz(21.0337, 23.4870, 13.3209)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A875B #5B5E8A
analogous
#8A6F5B #8A875B #768A5B
triadic
#8A875B #5B8A87 #875B8A
tetradic
#8A875B #5B8A6F #5B5E8A #8A5B76
square
#8A875B #5B8A6F #5B5E8A #8A5B76
split-complementary
#8A875B #5B768A #6F5B8A
monochromatic
#403F2A #656343 #8A875B #A8A57B #C0BE9F

Accessibility & contrast

On white

3.69
#8A875B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8A875B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A875B
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A875B#FFFFFF#000000##000000
##8A875B1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8458
Deuteranopia (green-blind)
#90865D
Tritanopia (blue-blind)
#91817C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a875b;
/* rgb */ color: rgb(138, 135, 91);
/* oklch */ color: oklch(61.5% 0.062 104.8);
Tailwind
colors: {
  custom: {
    50: '#ada98a',
    500: '#8a875b',
    950: '#000000',
  },
}
SCSS
$custom: #8a875b;
$custom-light: #ada98a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a875b",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 91
  },
  "hsl": {
    "h": 56.17,
    "s": 20.524,
    "l": 44.902
  },
  "oklch": {
    "l": 0.61486,
    "c": 0.06186,
    "h": 104.8
  },
  "luminance": 0.23487
}

Semantic roles & 50–950 ramp

primary
#8A875B
secondary
#9395AE
accent
#70BD6B
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8A875B

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

Preview Lab → · Contrast checker → · Palette generator →

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