#8B8A4E#8B8A4E

#8B8A4E is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.081 H 107.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8B8A4E
RGBrgb(139, 138, 78)
HSLhsl(59, 28%, 43%)
HSVhsv(59, 44%, 55%)
CMYKcmyk(0%, 0.7%, 43.9%, 45.5%)
CIE-LABlab(56.30, -8.85, 32.17)
CIE-LCHlch(56.30, 33.37, 105.38°)
OKLaboklab(62.02% -0.0248 0.0776)
OKLCHoklch(62.02% 0.081 107.7)
XYZxyz(21.1115, 24.2165, 10.7684)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A4E #4E4F8B
analogous
#8B6B4E #8B8A4E #6E8B4E
triadic
#8B8A4E #4E8B8A #8A4E8B
tetradic
#8B8A4E #4E8B6B #4E4F8B #8B4E6E
square
#8B8A4E #4E8B6B #4E4F8B #8B4E6E
split-complementary
#8B8A4E #4E6E8B #6B4E8B
monochromatic
#3D3C22 #646338 #8B8A4E #ACAB6B #C2C192

Accessibility & contrast

On white

3.59
#8B8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8B8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8A4E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8A4E#FFFFFF#000000##000000
##8B8A4E1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938649
Deuteranopia (green-blind)
#948851
Tritanopia (blue-blind)
#93837C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8b8a4e;
/* rgb */ color: rgb(139, 138, 78);
/* oklch */ color: oklch(62.0% 0.081 107.7);
Tailwind
colors: {
  custom: {
    50: '#aeac81',
    500: '#8b8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a4e;
$custom-light: #aeac81;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a4e",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 59.016,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.62022,
    "c": 0.08149,
    "h": 107.7
  },
  "luminance": 0.24216
}

Semantic roles & 50–950 ramp

primary
#8B8A4E
secondary
#8787AE
accent
#65C463
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8B8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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