#A6AB78#A6AB78

#A6AB78 is a light, moderate yellow. Relative luminance 0.386; OKLCH L 72.4% C 0.070 H 112.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#A6AB78
RGBrgb(166, 171, 120)
HSLhsl(66, 23%, 57%)
HSVhsv(66, 30%, 67%)
CMYKcmyk(2.9%, 0%, 29.8%, 32.9%)
CIE-LABlab(68.45, -10.20, 25.74)
CIE-LCHlch(68.45, 27.69, 111.62°)
OKLaboklab(72.44% -0.0269 0.0644)
OKLCHoklch(72.44% 0.07 112.7)
XYZxyz(33.6790, 38.5892, 23.4399)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AB78 #7D78AB
analogous
#AB9778 #A6AB78 #8DAB78
triadic
#A6AB78 #78A6AB #AB78A6
tetradic
#A6AB78 #78AB97 #7D78AB #AB788D
square
#A6AB78 #78AB97 #7D78AB #AB788D
split-complementary
#A6AB78 #788DAB #9778AB
monochromatic
#646841 #888E58 #A6AB78 #BFC29E #D8DAC3

Accessibility & contrast

On white

2.41
#A6AB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#A6AB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AB78
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AB78#FFFFFF#000000##000000
##A6AB781.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6ab78;
/* rgb */ color: rgb(166, 171, 120);
/* oklch */ color: oklch(72.4% 0.070 112.7);
Tailwind
colors: {
  custom: {
    50: '#c1c49f',
    500: '#a6ab78',
    950: '#000000',
  },
}
SCSS
$custom: #a6ab78;
$custom-light: #c1c49f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ab78",
  "rgb": {
    "r": 166,
    "g": 171,
    "b": 120
  },
  "hsl": {
    "h": 65.882,
    "s": 23.288,
    "l": 57.059
  },
  "oklch": {
    "l": 0.72443,
    "c": 0.06977,
    "h": 112.7
  },
  "luminance": 0.38589
}

Semantic roles & 50–950 ramp

primary
#A6AB78
secondary
#B7B5CA
accent
#68C071
background
#FBFCF9
surface
#F7F8F2
border
#D0D1CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A6AB78

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

Preview Lab → · Contrast checker → · Palette generator →

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