#AAAF80#AAAF80

#AAAF80 is a light, moderate yellow. Relative luminance 0.408; OKLCH L 73.8% C 0.064 H 112.9°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#AAAF80
RGBrgb(170, 175, 128)
HSLhsl(66, 23%, 59%)
HSVhsv(66, 27%, 69%)
CMYKcmyk(2.9%, 0%, 26.9%, 31.4%)
CIE-LABlab(70.01, -9.63, 23.58)
CIE-LCHlch(70.01, 25.47, 112.22°)
OKLaboklab(73.8% -0.0251 0.0594)
OKLCHoklch(73.8% 0.064 112.9)
XYZxyz(35.8037, 40.7648, 26.4001)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF80 #8580AF
analogous
#AF9D80 #AAAF80 #93AF80
triadic
#AAAF80 #80AAAF #AF80AA
tetradic
#AAAF80 #80AF9D #8580AF #AF8093
square
#AAAF80 #80AF9D #8580AF #AF8093
split-complementary
#AAAF80 #8093AF #9D80AF
monochromatic
#6A6F46 #8F945D #AAAF80 #C3C7A6 #DCDECB

Accessibility & contrast

On white

2.29
#AAAF80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#AAAF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF80
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF80#FFFFFF#000000##000000
##AAAF801.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AA7D
Deuteranopia (green-blind)
#B6AC82
Tritanopia (blue-blind)
#B0AAA3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aaaf80;
/* rgb */ color: rgb(170, 175, 128);
/* oklch */ color: oklch(73.8% 0.064 112.9);
Tailwind
colors: {
  custom: {
    50: '#c3c6a5',
    500: '#aaaf80',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf80;
$custom-light: #c3c6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf80",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 128
  },
  "hsl": {
    "h": 66.383,
    "s": 22.705,
    "l": 59.412
  },
  "oklch": {
    "l": 0.73805,
    "c": 0.06446,
    "h": 112.9
  },
  "luminance": 0.40765
}

Semantic roles & 50–950 ramp

primary
#AAAF80
secondary
#BEBCCF
accent
#69BF72
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#12130F
muted
#81827F

Preview Lab

Preview with #AAAF80

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

Preview Lab → · Contrast checker → · Palette generator →

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