#ABA166#ABA166

#ABA166 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.4% C 0.079 H 99.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#ABA166
RGBrgb(171, 161, 102)
HSLhsl(51, 29%, 54%)
HSVhsv(51, 40%, 67%)
CMYKcmyk(0%, 5.8%, 40.4%, 32.9%)
CIE-LABlab(65.83, -5.11, 32.02)
CIE-LCHlch(65.83, 32.42, 99.08°)
OKLaboklab(70.37% -0.0135 0.0783)
OKLCHoklch(70.37% 0.079 99.8)
XYZxyz(31.9383, 35.1079, 17.6619)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA166 #6670AB
analogous
#AB7E66 #ABA166 #92AB66
triadic
#ABA166 #66ABA1 #A166AB
tetradic
#ABA166 #66AB7E #6670AB #AB6692
square
#ABA166 #66AB7E #6670AB #AB6692
split-complementary
#ABA166 #6692AB #7E66AB
monochromatic
#615B35 #89804B #ABA166 #C1B98E #D6D2B5

Accessibility & contrast

On white

2.62
#ABA166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#ABA166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA166
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA166#FFFFFF#000000##000000
##ABA1661.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E62
Deuteranopia (green-blind)
#AFA268
Tritanopia (blue-blind)
#B59992
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba166;
/* rgb */ color: rgb(171, 161, 102);
/* oklch */ color: oklch(70.4% 0.079 99.8);
Tailwind
colors: {
  custom: {
    50: '#c5bc92',
    500: '#aba166',
    950: '#000000',
  },
}
SCSS
$custom: #aba166;
$custom-light: #c5bc92;
$custom-dark: #000000;
JSON
{
  "hex": "#aba166",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 102
  },
  "hsl": {
    "h": 51.304,
    "s": 29.114,
    "l": 53.529
  },
  "oklch": {
    "l": 0.70368,
    "c": 0.07948,
    "h": 99.8
  },
  "luminance": 0.35107
}

Semantic roles & 50–950 ramp

primary
#ABA166
secondary
#A8ACC5
accent
#71C562
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #ABA166

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

Preview Lab → · Contrast checker → · Palette generator →

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