#ABAB8A#ABAB8A

#ABAB8A is a light, muted yellow. Relative luminance 0.396; OKLCH L 73.2% C 0.046 H 107.5°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#ABAB8A
RGBrgb(171, 171, 138)
HSLhsl(60, 16%, 61%)
HSVhsv(60, 19%, 67%)
CMYKcmyk(0%, 0%, 19.3%, 32.9%)
CIE-LABlab(69.20, -5.65, 17.05)
CIE-LCHlch(69.20, 17.96, 108.34°)
OKLaboklab(73.25% -0.0137 0.0436)
OKLCHoklch(73.25% 0.046 107.5)
XYZxyz(35.9447, 39.6191, 29.7935)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAB8A #8A8AAB
analogous
#AB9A8A #ABAB8A #9AAB8A
triadic
#ABAB8A #8AABAB #AB8AAB
tetradic
#ABAB8A #8AAB9A #8A8AAB #AB8A9A
square
#ABAB8A #8AAB9A #8A8AAB #AB8A9A
split-complementary
#ABAB8A #8A9AAB #9A8AAB
monochromatic
#6D6D4E #909068 #ABAB8A #C5C5AE #DEDED1

Accessibility & contrast

On white

2.35
#ABAB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#ABAB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAB8A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAB8A#FFFFFF#000000##000000
##ABAB8A1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A888
Deuteranopia (green-blind)
#B1AA8B
Tritanopia (blue-blind)
#B0A7A2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abab8a;
/* rgb */ color: rgb(171, 171, 138);
/* oklch */ color: oklch(73.2% 0.046 107.5);
Tailwind
colors: {
  custom: {
    50: '#c4c4ac',
    500: '#abab8a',
    950: '#000000',
  },
}
SCSS
$custom: #abab8a;
$custom-light: #c4c4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#abab8a",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 16.418,
    "l": 60.588
  },
  "oklch": {
    "l": 0.73245,
    "c": 0.04571,
    "h": 107.5
  },
  "luminance": 0.39619
}

Semantic roles & 50–950 ramp

primary
#ABAB8A
secondary
#C2C2CF
accent
#4B9B4B
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#121210
muted
#81817F

Preview Lab

Preview with #ABAB8A

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

Preview Lab → · Contrast checker → · Palette generator →

#ABAB8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva