#ABAF8A#ABAF8A

#ABAF8A is a light, muted yellow. Relative luminance 0.412; OKLCH L 74.1% C 0.051 H 112.7°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#ABAF8A
RGBrgb(171, 175, 138)
HSLhsl(66, 19%, 61%)
HSVhsv(66, 21%, 69%)
CMYKcmyk(2.3%, 0%, 21.1%, 31.4%)
CIE-LABlab(70.28, -7.78, 18.55)
CIE-LCHlch(70.28, 20.12, 112.75°)
OKLaboklab(74.1% -0.0197 0.0473)
OKLCHoklch(74.1% 0.051 112.7)
XYZxyz(36.7117, 41.1531, 30.0492)
Luminance0.4115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF8A #8E8AAF
analogous
#AFA18A #ABAF8A #99AF8A
triadic
#ABAF8A #8AABAF #AF8AAB
tetradic
#ABAF8A #8AAFA1 #8E8AAF #AF8A99
square
#ABAF8A #8AAFA1 #8E8AAF #AF8A99
split-complementary
#ABAF8A #8A99AF #A18AAF
monochromatic
#6D714D #909666 #ABAF8A #C5C8AE #DFE1D3

Accessibility & contrast

On white

2.28
#ABAF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#ABAF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF8A
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF8A#FFFFFF#000000##000000
##ABAF8A1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5AB88
Deuteranopia (green-blind)
#B5AC8B
Tritanopia (blue-blind)
#B0ABA5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abaf8a;
/* rgb */ color: rgb(171, 175, 138);
/* oklch */ color: oklch(74.1% 0.051 112.7);
Tailwind
colors: {
  custom: {
    50: '#c4c6ac',
    500: '#abaf8a',
    950: '#000000',
  },
}
SCSS
$custom: #abaf8a;
$custom-light: #c4c6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf8a",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 138
  },
  "hsl": {
    "h": 66.486,
    "s": 18.782,
    "l": 61.373
  },
  "oklch": {
    "l": 0.74104,
    "c": 0.05125,
    "h": 112.7
  },
  "luminance": 0.41153
}

Semantic roles & 50–950 ramp

primary
#ABAF8A
secondary
#C5C3D1
accent
#489D52
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#121310
muted
#81827F

Preview Lab

Preview with #ABAF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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