#A8AB78#A8AB78

#A8AB78 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.069 H 110.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#A8AB78
RGBrgb(168, 171, 120)
HSLhsl(64, 23%, 57%)
HSVhsv(64, 30%, 67%)
CMYKcmyk(1.8%, 0%, 29.8%, 32.9%)
CIE-LABlab(68.61, -9.41, 25.98)
CIE-LCHlch(68.61, 27.64, 109.92°)
OKLaboklab(72.61% -0.0247 0.0649)
OKLCHoklch(72.61% 0.069 110.8)
XYZxyz(34.1016, 38.8072, 23.4597)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AB78 #7B78AB
analogous
#AB9578 #A8AB78 #8FAB78
triadic
#A8AB78 #78A8AB #AB78A8
tetradic
#A8AB78 #78AB95 #7B78AB #AB788F
square
#A8AB78 #78AB95 #7B78AB #AB788F
split-complementary
#A8AB78 #788FAB #9578AB
monochromatic
#666841 #8B8E58 #A8AB78 #C0C29E #D9DAC3

Accessibility & contrast

On white

2.40
#A8AB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#A8AB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AB78
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AB78#FFFFFF#000000##000000
##A8AB781.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A675
Deuteranopia (green-blind)
#B3A87A
Tritanopia (blue-blind)
#AFA59E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a8ab78;
/* rgb */ color: rgb(168, 171, 120);
/* oklch */ color: oklch(72.6% 0.069 110.8);
Tailwind
colors: {
  custom: {
    50: '#c2c49f',
    500: '#a8ab78',
    950: '#000000',
  },
}
SCSS
$custom: #a8ab78;
$custom-light: #c2c49f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ab78",
  "rgb": {
    "r": 168,
    "g": 171,
    "b": 120
  },
  "hsl": {
    "h": 63.529,
    "s": 23.288,
    "l": 57.059
  },
  "oklch": {
    "l": 0.72608,
    "c": 0.06947,
    "h": 110.8
  },
  "luminance": 0.38807
}

Semantic roles & 50–950 ramp

primary
#A8AB78
secondary
#B6B5CA
accent
#68C06D
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A8AB78

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

Preview Lab → · Contrast checker → · Palette generator →

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