#AAAF7B#AAAF7B

#AAAF7B is a light, moderate yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.071 H 112.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#AAAF7B
RGBrgb(170, 175, 123)
HSLhsl(66, 25%, 58%)
HSVhsv(66, 30%, 69%)
CMYKcmyk(2.9%, 0%, 29.7%, 31.4%)
CIE-LABlab(69.92, -10.32, 26.15)
CIE-LCHlch(69.92, 28.11, 111.55°)
OKLaboklab(73.7% -0.0272 0.0654)
OKLCHoklch(73.7% 0.071 112.6)
XYZxyz(35.4827, 40.6364, 24.7094)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF7B #807BAF
analogous
#AF9A7B #AAAF7B #90AF7B
triadic
#AAAF7B #7BAAAF #AF7BAA
tetradic
#AAAF7B #7BAF9A #807BAF #AF7B90
square
#AAAF7B #7BAF9A #807BAF #AF7B90
split-complementary
#AAAF7B #7B90AF #9A7BAF
monochromatic
#696D42 #8E9359 #AAAF7B #C3C6A1 #DBDDC7

Accessibility & contrast

On white

2.30
#AAAF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#AAAF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF7B
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF7B#FFFFFF#000000##000000
##AAAF7B1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA78
Deuteranopia (green-blind)
#B7AC7D
Tritanopia (blue-blind)
#B0A9A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aaaf7b;
/* rgb */ color: rgb(170, 175, 123);
/* oklch */ color: oklch(73.7% 0.071 112.6);
Tailwind
colors: {
  custom: {
    50: '#c4c6a1',
    500: '#aaaf7b',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf7b;
$custom-light: #c4c6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf7b",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 123
  },
  "hsl": {
    "h": 65.769,
    "s": 24.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.73704,
    "c": 0.07083,
    "h": 112.6
  },
  "luminance": 0.40636
}

Semantic roles & 50–950 ramp

primary
#AAAF7B
secondary
#BBB9CD
accent
#67C170
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#12130F
muted
#81827E

Preview Lab

Preview with #AAAF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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