#AAAF8A#AAAF8A

#AAAF8A is a light, muted yellow. Relative luminance 0.410; OKLCH L 74.0% C 0.051 H 113.9°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#AAAF8A
RGBrgb(170, 175, 138)
HSLhsl(68, 19%, 61%)
HSVhsv(68, 21%, 69%)
CMYKcmyk(2.9%, 0%, 21.1%, 31.4%)
CIE-LABlab(70.20, -8.16, 18.43)
CIE-LCHlch(70.20, 20.16, 113.88°)
OKLaboklab(74.02% -0.0208 0.047)
OKLCHoklch(74.02% 0.051 113.9)
XYZxyz(36.4946, 41.0412, 30.0390)
Luminance0.4104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF8A #8F8AAF
analogous
#AFA28A #AAAF8A #98AF8A
triadic
#AAAF8A #8AAAAF #AF8AAA
tetradic
#AAAF8A #8AAFA2 #8F8AAF #AF8A98
square
#AAAF8A #8AAFA2 #8F8AAF #AF8A98
split-complementary
#AAAF8A #8A98AF #A28AAF
monochromatic
#6C714D #8F9666 #AAAF8A #C4C8AE #DFE1D3

Accessibility & contrast

On white

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

On black

9.21
#AAAF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF8A
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF8A#FFFFFF#000000##000000
##AAAF8A1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaaf8a;
/* rgb */ color: rgb(170, 175, 138);
/* oklch */ color: oklch(74.0% 0.051 113.9);
Tailwind
colors: {
  custom: {
    50: '#c3c6ac',
    500: '#aaaf8a',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf8a;
$custom-light: #c3c6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf8a",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 138
  },
  "hsl": {
    "h": 68.108,
    "s": 18.782,
    "l": 61.373
  },
  "oklch": {
    "l": 0.74023,
    "c": 0.05141,
    "h": 113.9
  },
  "luminance": 0.41041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AAAF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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