#8A884F#8A884F

#8A884F is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.5% C 0.078 H 106.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A884F
RGBrgb(138, 136, 79)
HSLhsl(58, 27%, 43%)
HSVhsv(58, 43%, 54%)
CMYKcmyk(0%, 1.4%, 42.8%, 45.9%)
CIE-LABlab(55.66, -8.07, 30.81)
CIE-LCHlch(55.66, 31.85, 104.68°)
OKLaboklab(61.5% -0.0224 0.0746)
OKLCHoklch(61.5% 0.078 106.7)
XYZxyz(20.6970, 23.5766, 10.8561)
Luminance0.2358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A884F #4F518A
analogous
#8A6A4F #8A884F #6F8A4F
triadic
#8A884F #4F8A88 #884F8A
tetradic
#8A884F #4F8A6A #4F518A #8A4F6F
square
#8A884F #4F8A6A #4F518A #8A4F6F
split-complementary
#8A884F #4F6F8A #6A4F8A
monochromatic
#3C3B22 #636239 #8A884F #ABA86C #C1BF93

Accessibility & contrast

On white

3.67
#8A884F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8A884F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A884F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A884F#FFFFFF#000000##000000
##8A884F1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91844B
Deuteranopia (green-blind)
#928751
Tritanopia (blue-blind)
#92817A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a884f;
/* rgb */ color: rgb(138, 136, 79);
/* oklch */ color: oklch(61.5% 0.078 106.7);
Tailwind
colors: {
  custom: {
    50: '#adaa81',
    500: '#8a884f',
    950: '#000000',
  },
}
SCSS
$custom: #8a884f;
$custom-light: #adaa81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a884f",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 79
  },
  "hsl": {
    "h": 57.966,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.07795,
    "h": 106.7
  },
  "luminance": 0.23576
}

Semantic roles & 50–950 ramp

primary
#8A884F
secondary
#8789AE
accent
#68C464
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8A884F

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

Preview Lab → · Contrast checker → · Palette generator →

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