#AAAF87#AAAF87

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

Color values

HEX#AAAF87
RGBrgb(170, 175, 135)
HSLhsl(68, 20%, 61%)
HSVhsv(68, 23%, 69%)
CMYKcmyk(2.9%, 0%, 22.9%, 31.4%)
CIE-LABlab(70.14, -8.61, 19.98)
CIE-LCHlch(70.14, 21.76, 113.32°)
OKLaboklab(73.96% -0.0221 0.0508)
OKLCHoklch(73.96% 0.055 113.6)
XYZxyz(36.2804, 40.9555, 28.9109)
Luminance0.4096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF87 #8C87AF
analogous
#AFA087 #AAAF87 #96AF87
triadic
#AAAF87 #87AAAF #AF87AA
tetradic
#AAAF87 #87AFA0 #8C87AF #AF8796
square
#AAAF87 #87AFA0 #8C87AF #AF8796
split-complementary
#AAAF87 #8796AF #A087AF
monochromatic
#6C714B #8F9564 #AAAF87 #C4C7AC #DEE0D0

Accessibility & contrast

On white

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

On black

9.19
#AAAF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF87
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF87#FFFFFF#000000##000000
##AAAF871.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5AB85
Deuteranopia (green-blind)
#B5AC89
Tritanopia (blue-blind)
#AFAAA4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aaaf87;
/* rgb */ color: rgb(170, 175, 135);
/* oklch */ color: oklch(74.0% 0.055 113.6);
Tailwind
colors: {
  custom: {
    50: '#c3c6aa',
    500: '#aaaf87',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf87;
$custom-light: #c3c6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf87",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 135
  },
  "hsl": {
    "h": 67.5,
    "s": 20,
    "l": 60.784
  },
  "oklch": {
    "l": 0.73956,
    "c": 0.05536,
    "h": 113.6
  },
  "luminance": 0.40955
}

Semantic roles & 50–950 ramp

primary
#AAAF87
secondary
#C3C1D0
accent
#479E52
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#121310
muted
#81827F

Preview Lab

Preview with #AAAF87

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

Preview Lab → · Contrast checker → · Palette generator →

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