#ABA281#ABA281

#ABA281 is a light, muted yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.047 H 94.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#ABA281
RGBrgb(171, 162, 129)
HSLhsl(47, 20%, 59%)
HSVhsv(47, 25%, 67%)
CMYKcmyk(0%, 5.3%, 24.6%, 32.9%)
CIE-LABlab(66.58, -2.16, 18.38)
CIE-LCHlch(66.58, 18.50, 96.69°)
OKLaboklab(71.12% -0.0038 0.0468)
OKLCHoklch(71.12% 0.047 94.6)
XYZxyz(33.6774, 36.0843, 25.9555)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA281 #818AAB
analogous
#AB8D81 #ABA281 #9FAB81
triadic
#ABA281 #81ABA2 #A281AB
tetradic
#ABA281 #81AB8D #818AAB #AB819F
square
#ABA281 #81AB8D #818AAB #AB819F
split-complementary
#ABA281 #819FAB #8D81AB
monochromatic
#6B6347 #8F8560 #ABA281 #C3BDA6 #DCD8CA

Accessibility & contrast

On white

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

On black

8.22
#ABA281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA281
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA281#FFFFFF#000000##000000
##ABA2811.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A07F
Deuteranopia (green-blind)
#ACA382
Tritanopia (blue-blind)
#B29D99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba281;
/* rgb */ color: rgb(171, 162, 129);
/* oklch */ color: oklch(71.1% 0.047 94.6);
Tailwind
colors: {
  custom: {
    50: '#c4bda5',
    500: '#aba281',
    950: '#000000',
  },
}
SCSS
$custom: #aba281;
$custom-light: #c4bda5;
$custom-dark: #000000;
JSON
{
  "hex": "#aba281",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 129
  },
  "hsl": {
    "h": 47.143,
    "s": 20,
    "l": 58.824
  },
  "oklch": {
    "l": 0.7112,
    "c": 0.04693,
    "h": 94.6
  },
  "luminance": 0.36084
}

Semantic roles & 50–950 ramp

primary
#ABA281
secondary
#BCBFCC
accent
#7DBD6B
background
#FCFBFA
surface
#F8F6F4
border
#D1D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #ABA281

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

Preview Lab → · Contrast checker → · Palette generator →

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