#A8AB7B#A8AB7B

#A8AB7B is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.066 H 110.9°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#A8AB7B
RGBrgb(168, 171, 123)
HSLhsl(64, 22%, 58%)
HSVhsv(64, 28%, 67%)
CMYKcmyk(1.8%, 0%, 28.1%, 32.9%)
CIE-LABlab(68.67, -9.01, 24.44)
CIE-LCHlch(68.67, 26.04, 110.23°)
OKLaboklab(72.67% -0.0234 0.0613)
OKLCHoklch(72.67% 0.066 110.9)
XYZxyz(34.2865, 38.8811, 24.4336)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AB7B #7E7BAB
analogous
#AB967B #A8AB7B #90AB7B
triadic
#A8AB7B #7BA8AB #AB7BA8
tetradic
#A8AB7B #7BAB96 #7E7BAB #AB7B90
square
#A8AB7B #7BAB96 #7E7BAB #AB7B90
split-complementary
#A8AB7B #7B90AB #967BAB
monochromatic
#666943 #8B8E5B #A8AB7B #C1C3A0 #D9DBC6

Accessibility & contrast

On white

2.39
#A8AB7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#A8AB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AB7B
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AB7B#FFFFFF#000000##000000
##A8AB7B1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A778
Deuteranopia (green-blind)
#B3A87D
Tritanopia (blue-blind)
#AEA59E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a8ab7b;
/* rgb */ color: rgb(168, 171, 123);
/* oklch */ color: oklch(72.7% 0.066 110.9);
Tailwind
colors: {
  custom: {
    50: '#c2c4a1',
    500: '#a8ab7b',
    950: '#000000',
  },
}
SCSS
$custom: #a8ab7b;
$custom-light: #c2c4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ab7b",
  "rgb": {
    "r": 168,
    "g": 171,
    "b": 123
  },
  "hsl": {
    "h": 63.75,
    "s": 22.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.72668,
    "c": 0.06566,
    "h": 110.9
  },
  "luminance": 0.38881
}

Semantic roles & 50–950 ramp

primary
#A8AB7B
secondary
#B8B7CB
accent
#69BF6E
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#12120F
muted
#81817E

Preview Lab

Preview with #A8AB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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