#8A8A66#8A8A66

#8A8A66 is a light, muted yellow. Relative luminance 0.245; OKLCH L 62.4% C 0.051 H 107.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A8A66
RGBrgb(138, 138, 102)
HSLhsl(60, 15%, 47%)
HSVhsv(60, 26%, 54%)
CMYKcmyk(0%, 0%, 26.1%, 45.9%)
CIE-LABlab(56.62, -6.19, 19.35)
CIE-LCHlch(56.62, 20.32, 107.74°)
OKLaboklab(62.39% -0.0157 0.0488)
OKLCHoklch(62.39% 0.051 107.8)
XYZxyz(21.9680, 24.5398, 16.1472)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A66 #66668A
analogous
#8A7866 #8A8A66 #788A66
triadic
#8A8A66 #668A8A #8A668A
tetradic
#8A8A66 #668A78 #66668A #8A6678
square
#8A8A66 #668A78 #66668A #8A6678
split-complementary
#8A8A66 #66788A #78668A
monochromatic
#444432 #67674C #8A8A66 #A6A687 #C0C0AA

Accessibility & contrast

On white

3.55
#8A8A66 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8A8A66 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A66
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A66#FFFFFF#000000##000000
##8A8A661.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908764
Deuteranopia (green-blind)
#918967
Tritanopia (blue-blind)
#8F8580
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8a66;
/* rgb */ color: rgb(138, 138, 102);
/* oklch */ color: oklch(62.4% 0.051 107.8);
Tailwind
colors: {
  custom: {
    50: '#acac92',
    500: '#8a8a66',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a66;
$custom-light: #acac92;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a66",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 102
  },
  "hsl": {
    "h": 60,
    "s": 15,
    "l": 47.059
  },
  "oklch": {
    "l": 0.62388,
    "c": 0.05125,
    "h": 107.8
  },
  "luminance": 0.2454
}

Semantic roles & 50–950 ramp

primary
#8A8A66
secondary
#9D9DAF
accent
#70B870
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100D
muted
#7F7F7D

Preview Lab

Preview with #8A8A66

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

Preview Lab → · Contrast checker → · Palette generator →

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