#ABA471#ABA471

#ABA471 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.069 H 101.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#ABA471
RGBrgb(171, 164, 113)
HSLhsl(53, 26%, 56%)
HSVhsv(53, 34%, 67%)
CMYKcmyk(0%, 4.1%, 33.9%, 32.9%)
CIE-LABlab(66.83, -5.41, 27.42)
CIE-LCHlch(66.83, 27.95, 101.15°)
OKLaboklab(71.21% -0.0136 0.0681)
OKLCHoklch(71.21% 0.069 101.3)
XYZxyz(33.0511, 36.4019, 20.9048)
Luminance0.3640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA471 #7178AB
analogous
#AB8771 #ABA471 #95AB71
triadic
#ABA471 #71ABA4 #A471AB
tetradic
#ABA471 #71AB87 #7178AB #AB7195
square
#ABA471 #71AB87 #7178AB #AB7195
split-complementary
#ABA471 #7195AB #8771AB
monochromatic
#66613C #8C8553 #ABA471 #C2BD97 #D8D5BE

Accessibility & contrast

On white

2.54
#ABA471 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#ABA471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA471
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA471#FFFFFF#000000##000000
##ABA4711.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA16D
Deuteranopia (green-blind)
#B0A473
Tritanopia (blue-blind)
#B39D97
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba471;
/* rgb */ color: rgb(171, 164, 113);
/* oklch */ color: oklch(71.2% 0.069 101.3);
Tailwind
colors: {
  custom: {
    50: '#c5be9a',
    500: '#aba471',
    950: '#000000',
  },
}
SCSS
$custom: #aba471;
$custom-light: #c5be9a;
$custom-dark: #000000;
JSON
{
  "hex": "#aba471",
  "rgb": {
    "r": 171,
    "g": 164,
    "b": 113
  },
  "hsl": {
    "h": 52.759,
    "s": 25.664,
    "l": 55.686
  },
  "oklch": {
    "l": 0.71213,
    "c": 0.06947,
    "h": 101.3
  },
  "luminance": 0.36401
}

Semantic roles & 50–950 ramp

primary
#ABA471
secondary
#B0B3C8
accent
#71C266
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #ABA471

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

Preview Lab → · Contrast checker → · Palette generator →

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