#AAAF70#AAAF70

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

Color values

HEX#AAAF70
RGBrgb(170, 175, 112)
HSLhsl(65, 28%, 56%)
HSVhsv(65, 36%, 69%)
CMYKcmyk(2.9%, 0%, 36%, 31.4%)
CIE-LABlab(69.74, -11.75, 31.75)
CIE-LCHlch(69.74, 33.85, 110.30°)
OKLaboklab(73.5% -0.0318 0.0782)
OKLCHoklch(73.5% 0.084 112.2)
XYZxyz(34.8324, 40.3763, 21.2845)
Luminance0.4038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF70 #7570AF
analogous
#AF9570 #AAAF70 #8BAF70
triadic
#AAAF70 #70AAAF #AF70AA
tetradic
#AAAF70 #70AF95 #7570AF #AF708B
square
#AAAF70 #70AF95 #7570AF #AF708B
split-complementary
#AAAF70 #708BAF #9570AF
monochromatic
#666A3B #8C9151 #AAAF70 #C1C597 #D9DBBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAF70#FFFFFF#000000##000000
##AAAF701.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)
#B8A96B
Deuteranopia (green-blind)
#B8AB73
Tritanopia (blue-blind)
#B2A89F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aaaf70;
/* rgb */ color: rgb(170, 175, 112);
/* oklch */ color: oklch(73.5% 0.084 112.2);
Tailwind
colors: {
  custom: {
    50: '#c4c69a',
    500: '#aaaf70',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf70;
$custom-light: #c4c69a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf70",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 112
  },
  "hsl": {
    "h": 64.762,
    "s": 28.251,
    "l": 56.275
  },
  "oklch": {
    "l": 0.73498,
    "c": 0.08438,
    "h": 112.2
  },
  "luminance": 0.40376
}

Semantic roles & 50–950 ramp

primary
#AAAF70
secondary
#B2B0CA
accent
#63C56B
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AAAF70

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

Preview Lab → · Contrast checker → · Palette generator →

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