#ABA371#ABA371

#ABA371 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.0% C 0.068 H 100.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#ABA371
RGBrgb(171, 163, 113)
HSLhsl(52, 26%, 56%)
HSVhsv(52, 34%, 67%)
CMYKcmyk(0%, 4.7%, 33.9%, 32.9%)
CIE-LABlab(66.55, -4.87, 27.07)
CIE-LCHlch(66.55, 27.50, 100.20°)
OKLaboklab(71% -0.0121 0.0673)
OKLCHoklch(71% 0.068 100.2)
XYZxyz(32.8728, 36.0454, 20.8454)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA371 #7179AB
analogous
#AB8671 #ABA371 #96AB71
triadic
#ABA371 #71ABA3 #A371AB
tetradic
#ABA371 #71AB86 #7179AB #AB7196
square
#ABA371 #71AB86 #7179AB #AB7196
split-complementary
#ABA371 #7196AB #8671AB
monochromatic
#66603C #8C8453 #ABA371 #C2BC97 #D8D5BE

Accessibility & contrast

On white

2.56
#ABA371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#ABA371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA371
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA371#FFFFFF#000000##000000
##ABA3711.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA06E
Deuteranopia (green-blind)
#AFA373
Tritanopia (blue-blind)
#B49C96
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba371;
/* rgb */ color: rgb(171, 163, 113);
/* oklch */ color: oklch(71.0% 0.068 100.2);
Tailwind
colors: {
  custom: {
    50: '#c5be9a',
    500: '#aba371',
    950: '#000000',
  },
}
SCSS
$custom: #aba371;
$custom-light: #c5be9a;
$custom-dark: #000000;
JSON
{
  "hex": "#aba371",
  "rgb": {
    "r": 171,
    "g": 163,
    "b": 113
  },
  "hsl": {
    "h": 51.724,
    "s": 25.664,
    "l": 55.686
  },
  "oklch": {
    "l": 0.70998,
    "c": 0.06836,
    "h": 100.2
  },
  "luminance": 0.36045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABA371

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

Preview Lab → · Contrast checker → · Palette generator →

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