#ABA781#ABA781

#ABA781 is a light, muted yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.053 H 102.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#ABA781
RGBrgb(171, 167, 129)
HSLhsl(54, 20%, 59%)
HSVhsv(54, 25%, 67%)
CMYKcmyk(0%, 2.3%, 24.6%, 32.9%)
CIE-LABlab(67.93, -4.85, 20.23)
CIE-LCHlch(67.93, 20.80, 103.48°)
OKLaboklab(72.19% -0.0115 0.0513)
OKLCHoklch(72.19% 0.053 102.6)
XYZxyz(34.5758, 37.8809, 26.2549)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA781 #8185AB
analogous
#AB9281 #ABA781 #9AAB81
triadic
#ABA781 #81ABA7 #A781AB
tetradic
#ABA781 #81AB92 #8185AB #AB819A
square
#ABA781 #81AB92 #8185AB #AB819A
split-complementary
#ABA781 #819AAB #9281AB
monochromatic
#6B6747 #8F8B60 #ABA781 #C3C1A6 #DCDACA

Accessibility & contrast

On white

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

On black

8.58
#ABA781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA781
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA781#FFFFFF#000000##000000
##ABA7811.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA47F
Deuteranopia (green-blind)
#B0A782
Tritanopia (blue-blind)
#B1A29D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aba781;
/* rgb */ color: rgb(171, 167, 129);
/* oklch */ color: oklch(72.2% 0.053 102.6);
Tailwind
colors: {
  custom: {
    50: '#c4c1a5',
    500: '#aba781',
    950: '#000000',
  },
}
SCSS
$custom: #aba781;
$custom-light: #c4c1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#aba781",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 129
  },
  "hsl": {
    "h": 54.286,
    "s": 20,
    "l": 58.824
  },
  "oklch": {
    "l": 0.72185,
    "c": 0.05256,
    "h": 102.6
  },
  "luminance": 0.3788
}

Semantic roles & 50–950 ramp

primary
#ABA781
secondary
#BCBDCC
accent
#73BD6B
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #ABA781

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

Preview Lab → · Contrast checker → · Palette generator →

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