#ABA871#ABA871

#ABA871 is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.1% C 0.074 H 105.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#ABA871
RGBrgb(171, 168, 113)
HSLhsl(57, 26%, 56%)
HSVhsv(57, 34%, 67%)
CMYKcmyk(0%, 1.8%, 33.9%, 32.9%)
CIE-LABlab(67.91, -7.54, 28.86)
CIE-LCHlch(67.91, 29.83, 104.64°)
OKLaboklab(72.08% -0.0198 0.0715)
OKLCHoklch(72.08% 0.074 105.5)
XYZxyz(33.7782, 37.8561, 21.1472)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA871 #7174AB
analogous
#AB8B71 #ABA871 #91AB71
triadic
#ABA871 #71ABA8 #A871AB
tetradic
#ABA871 #71AB8B #7174AB #AB7191
square
#ABA871 #71AB8B #7174AB #AB7191
split-complementary
#ABA871 #7191AB #8B71AB
monochromatic
#66633C #8C8953 #ABA871 #C2C097 #D8D7BE

Accessibility & contrast

On white

2.45
#ABA871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#ABA871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA871
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA871#FFFFFF#000000##000000
##ABA8711.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A46D
Deuteranopia (green-blind)
#B3A773
Tritanopia (blue-blind)
#B3A19A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aba871;
/* rgb */ color: rgb(171, 168, 113);
/* oklch */ color: oklch(72.1% 0.074 105.5);
Tailwind
colors: {
  custom: {
    50: '#c5c19a',
    500: '#aba871',
    950: '#000000',
  },
}
SCSS
$custom: #aba871;
$custom-light: #c5c19a;
$custom-dark: #000000;
JSON
{
  "hex": "#aba871",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 113
  },
  "hsl": {
    "h": 56.897,
    "s": 25.664,
    "l": 55.686
  },
  "oklch": {
    "l": 0.72075,
    "c": 0.07415,
    "h": 105.5
  },
  "luminance": 0.37855
}

Semantic roles & 50–950 ramp

primary
#ABA871
secondary
#B0B1C8
accent
#6BC266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #ABA871

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

Preview Lab → · Contrast checker → · Palette generator →

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