#ABA271#ABA271

#ABA271 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.067 H 99.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#ABA271
RGBrgb(171, 162, 113)
HSLhsl(51, 26%, 56%)
HSVhsv(51, 34%, 67%)
CMYKcmyk(0%, 5.3%, 33.9%, 32.9%)
CIE-LABlab(66.28, -4.33, 26.71)
CIE-LCHlch(66.28, 27.06, 99.21°)
OKLaboklab(70.78% -0.0105 0.0664)
OKLCHoklch(70.78% 0.067 99)
XYZxyz(32.6960, 35.6917, 20.7864)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA271 #717AAB
analogous
#AB8571 #ABA271 #97AB71
triadic
#ABA271 #71ABA2 #A271AB
tetradic
#ABA271 #71AB85 #717AAB #AB7197
square
#ABA271 #71AB85 #717AAB #AB7197
split-complementary
#ABA271 #7197AB #8571AB
monochromatic
#665F3C #8C8353 #ABA271 #C2BB97 #D8D4BE

Accessibility & contrast

On white

2.58
#ABA271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#ABA271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA271
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA271#FFFFFF#000000##000000
##ABA2711.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9F6E
Deuteranopia (green-blind)
#AEA373
Tritanopia (blue-blind)
#B49B95
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba271;
/* rgb */ color: rgb(171, 162, 113);
/* oklch */ color: oklch(70.8% 0.067 99.0);
Tailwind
colors: {
  custom: {
    50: '#c5bd9a',
    500: '#aba271',
    950: '#000000',
  },
}
SCSS
$custom: #aba271;
$custom-light: #c5bd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#aba271",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 50.69,
    "s": 25.664,
    "l": 55.686
  },
  "oklch": {
    "l": 0.70784,
    "c": 0.06727,
    "h": 99
  },
  "luminance": 0.35691
}

Semantic roles & 50–950 ramp

primary
#ABA271
secondary
#B0B4C8
accent
#74C266
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #ABA271

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

Preview Lab → · Contrast checker → · Palette generator →

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