#ABA172#ABA172

#ABA172 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.065 H 97.6°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#ABA172
RGBrgb(171, 161, 114)
HSLhsl(49, 25%, 56%)
HSVhsv(49, 33%, 67%)
CMYKcmyk(0%, 5.8%, 33.3%, 32.9%)
CIE-LABlab(66.03, -3.67, 25.83)
CIE-LCHlch(66.03, 26.09, 98.08°)
OKLaboklab(70.59% -0.0086 0.0644)
OKLCHoklch(70.59% 0.065 97.6)
XYZxyz(32.5771, 35.3634, 21.0261)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA172 #727CAB
analogous
#AB8472 #ABA172 #98AB72
triadic
#ABA172 #72ABA1 #A172AB
tetradic
#ABA172 #72AB84 #727CAB #AB7298
square
#ABA172 #72AB84 #727CAB #AB7298
split-complementary
#ABA172 #7298AB #8472AB
monochromatic
#665F3D #8C8254 #ABA172 #C2BB98 #D9D4BF

Accessibility & contrast

On white

2.60
#ABA172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#ABA172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA172
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA172#FFFFFF#000000##000000
##ABA1721.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9E6F
Deuteranopia (green-blind)
#ADA274
Tritanopia (blue-blind)
#B49A95
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba172;
/* rgb */ color: rgb(171, 161, 114);
/* oklch */ color: oklch(70.6% 0.065 97.6);
Tailwind
colors: {
  custom: {
    50: '#c5bc9b',
    500: '#aba172',
    950: '#000000',
  },
}
SCSS
$custom: #aba172;
$custom-light: #c5bc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#aba172",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 114
  },
  "hsl": {
    "h": 49.474,
    "s": 25.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.7059,
    "c": 0.06497,
    "h": 97.6
  },
  "luminance": 0.35363
}

Semantic roles & 50–950 ramp

primary
#ABA172
secondary
#B1B5C8
accent
#76C266
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #ABA172

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

Preview Lab → · Contrast checker → · Palette generator →

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