#8A8268#8A8268

#8A8268 is a mid, muted yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.039 H 93.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A8268
RGBrgb(138, 130, 104)
HSLhsl(46, 14%, 47%)
HSVhsv(46, 25%, 54%)
CMYKcmyk(0%, 5.8%, 24.6%, 45.9%)
CIE-LABlab(54.42, -1.42, 15.20)
CIE-LCHlch(54.42, 15.26, 95.36°)
OKLaboklab(60.66% -0.002 0.0387)
OKLCHoklch(60.66% 0.039 93)
XYZxyz(20.9626, 22.3685, 16.3073)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8268 #68708A
analogous
#8A7168 #8A8268 #818A68
triadic
#8A8268 #688A82 #82688A
tetradic
#8A8268 #688A71 #68708A #8A6881
square
#8A8268 #688A71 #68708A #8A6881
split-complementary
#8A8268 #68818A #71688A
monochromatic
#444033 #67614E #8A8268 #A69F89 #C0BCAC

Accessibility & contrast

On white

3.84
#8A8268 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8A8268 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8268
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8268#FFFFFF#000000##000000
##8A82681.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#888166
Deuteranopia (green-blind)
#8A8369
Tritanopia (blue-blind)
#907E7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8268;
/* rgb */ color: rgb(138, 130, 104);
/* oklch */ color: oklch(60.7% 0.039 93.0);
Tailwind
colors: {
  custom: {
    50: '#aca693',
    500: '#8a8268',
    950: '#000000',
  },
}
SCSS
$custom: #8a8268;
$custom-light: #aca693;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8268",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 104
  },
  "hsl": {
    "h": 45.882,
    "s": 14.05,
    "l": 47.451
  },
  "oklch": {
    "l": 0.60656,
    "c": 0.03879,
    "h": 93
  },
  "luminance": 0.22368
}

Semantic roles & 50–950 ramp

primary
#8A8268
secondary
#9EA2B0
accent
#81B771
background
#FAFAF9
surface
#F4F4F1
border
#CECECB
text
#100F0D
muted
#7F7F7E

Preview Lab

Preview with #8A8268

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

Preview Lab → · Contrast checker → · Palette generator →

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