#ABA971#ABA971

#ABA971 is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.3% C 0.075 H 106.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#ABA971
RGBrgb(171, 169, 113)
HSLhsl(58, 26%, 56%)
HSVhsv(58, 34%, 67%)
CMYKcmyk(0%, 1.2%, 33.9%, 32.9%)
CIE-LABlab(68.19, -8.07, 29.22)
CIE-LCHlch(68.19, 30.31, 105.44°)
OKLaboklab(72.29% -0.0213 0.0723)
OKLCHoklch(72.29% 0.075 106.4)
XYZxyz(33.9635, 38.2268, 21.2089)
Luminance0.3823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA971 #7173AB
analogous
#AB8C71 #ABA971 #90AB71
triadic
#ABA971 #71ABA9 #A971AB
tetradic
#ABA971 #71AB8C #7173AB #AB7190
square
#ABA971 #71AB8C #7173AB #AB7190
split-complementary
#ABA971 #7190AB #8C71AB
monochromatic
#66643C #8C8A53 #ABA971 #C2C097 #D8D8BE

Accessibility & contrast

On white

2.43
#ABA971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#ABA971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA971
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA971#FFFFFF#000000##000000
##ABA9711.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A56D
Deuteranopia (green-blind)
#B3A773
Tritanopia (blue-blind)
#B3A29B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aba971;
/* rgb */ color: rgb(171, 169, 113);
/* oklch */ color: oklch(72.3% 0.075 106.4);
Tailwind
colors: {
  custom: {
    50: '#c5c29a',
    500: '#aba971',
    950: '#000000',
  },
}
SCSS
$custom: #aba971;
$custom-light: #c5c29a;
$custom-dark: #000000;
JSON
{
  "hex": "#aba971",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 113
  },
  "hsl": {
    "h": 57.931,
    "s": 25.664,
    "l": 55.686
  },
  "oklch": {
    "l": 0.72292,
    "c": 0.07538,
    "h": 106.4
  },
  "luminance": 0.38226
}

Semantic roles & 50–950 ramp

primary
#ABA971
secondary
#B0B1C8
accent
#69C266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #ABA971

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

Preview Lab → · Contrast checker → · Palette generator →

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