#ABA266#ABA266

#ABA266 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.6% C 0.081 H 100.8°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#ABA266
RGBrgb(171, 162, 102)
HSLhsl(52, 29%, 54%)
HSVhsv(52, 40%, 67%)
CMYKcmyk(0%, 5.3%, 40.4%, 32.9%)
CIE-LABlab(66.10, -5.65, 32.36)
CIE-LCHlch(66.10, 32.85, 99.90°)
OKLaboklab(70.58% -0.0151 0.0791)
OKLCHoklch(70.58% 0.081 100.8)
XYZxyz(32.1138, 35.4588, 17.7204)
Luminance0.3546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA266 #666FAB
analogous
#AB7F66 #ABA266 #91AB66
triadic
#ABA266 #66ABA2 #A266AB
tetradic
#ABA266 #66AB7F #666FAB #AB6691
square
#ABA266 #66AB7F #666FAB #AB6691
split-complementary
#ABA266 #6691AB #7F66AB
monochromatic
#615C35 #89814B #ABA266 #C1BA8E #D6D2B5

Accessibility & contrast

On white

2.60
#ABA266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#ABA266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA266
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA266#FFFFFF#000000##000000
##ABA2661.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E61
Deuteranopia (green-blind)
#AFA268
Tritanopia (blue-blind)
#B59A93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba266;
/* rgb */ color: rgb(171, 162, 102);
/* oklch */ color: oklch(70.6% 0.081 100.8);
Tailwind
colors: {
  custom: {
    50: '#c5bd92',
    500: '#aba266',
    950: '#000000',
  },
}
SCSS
$custom: #aba266;
$custom-light: #c5bd92;
$custom-dark: #000000;
JSON
{
  "hex": "#aba266",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 102
  },
  "hsl": {
    "h": 52.174,
    "s": 29.114,
    "l": 53.529
  },
  "oklch": {
    "l": 0.70584,
    "c": 0.08055,
    "h": 100.8
  },
  "luminance": 0.35458
}

Semantic roles & 50–950 ramp

primary
#ABA266
secondary
#A8ABC5
accent
#6FC562
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #ABA266

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

Preview Lab → · Contrast checker → · Palette generator →

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