#AAAF71#AAAF71

#AAAF71 is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.5% C 0.083 H 112.2°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#AAAF71
RGBrgb(170, 175, 113)
HSLhsl(65, 28%, 56%)
HSVhsv(65, 35%, 69%)
CMYKcmyk(2.9%, 0%, 35.4%, 31.4%)
CIE-LABlab(69.75, -11.62, 31.24)
CIE-LCHlch(69.75, 33.33, 110.40°)
OKLaboklab(73.52% -0.0314 0.077)
OKLCHoklch(73.52% 0.083 112.2)
XYZxyz(34.8884, 40.3987, 21.5794)
Luminance0.4040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF71 #7671AF
analogous
#AF9571 #AAAF71 #8BAF71
triadic
#AAAF71 #71AAAF #AF71AA
tetradic
#AAAF71 #71AF95 #7671AF #AF718B
square
#AAAF71 #71AF95 #7671AF #AF718B
split-complementary
#AAAF71 #718BAF #9571AF
monochromatic
#666A3C #8C9152 #AAAF71 #C1C598 #D9DBBF

Accessibility & contrast

On white

2.31
#AAAF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#AAAF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF71
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF71#FFFFFF#000000##000000
##AAAF711.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA6D
Deuteranopia (green-blind)
#B8AB74
Tritanopia (blue-blind)
#B1A89F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aaaf71;
/* rgb */ color: rgb(170, 175, 113);
/* oklch */ color: oklch(73.5% 0.083 112.2);
Tailwind
colors: {
  custom: {
    50: '#c4c69a',
    500: '#aaaf71',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf71;
$custom-light: #c4c69a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf71",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 113
  },
  "hsl": {
    "h": 64.839,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.73516,
    "c": 0.08318,
    "h": 112.2
  },
  "luminance": 0.40398
}

Semantic roles & 50–950 ramp

primary
#AAAF71
secondary
#B3B1CB
accent
#64C46B
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AAAF71

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

Preview Lab → · Contrast checker → · Palette generator →

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