#AAAF5D#AAAF5D

#AAAF5D is a light, moderate yellow. Relative luminance 0.400; OKLCH L 73.2% C 0.106 H 111.8°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#AAAF5D
RGBrgb(170, 175, 93)
HSLhsl(64, 34%, 53%)
HSVhsv(64, 47%, 69%)
CMYKcmyk(2.9%, 0%, 46.9%, 31.4%)
CIE-LABlab(69.47, -13.86, 41.19)
CIE-LCHlch(69.47, 43.46, 108.60°)
OKLaboklab(73.19% -0.0394 0.0984)
OKLCHoklch(73.19% 0.106 111.8)
XYZxyz(33.8839, 39.9969, 16.2890)
Luminance0.4000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF5D #625DAF
analogous
#AF8B5D #AAAF5D #81AF5D
triadic
#AAAF5D #5DAAAF #AF5DAA
tetradic
#AAAF5D #5DAF8B #625DAF #AF5D81
square
#AAAF5D #5DAF8B #625DAF #AF5D81
split-complementary
#AAAF5D #5D81AF #8B5DAF
monochromatic
#5E6130 #868A44 #AAAF5D #BFC386 #D5D7AF

Accessibility & contrast

On white

2.33
#AAAF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#AAAF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF5D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF5D#FFFFFF#000000##000000
##AAAF5D1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA856
Deuteranopia (green-blind)
#BAAB61
Tritanopia (blue-blind)
#B3A69C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aaaf5d;
/* rgb */ color: rgb(170, 175, 93);
/* oklch */ color: oklch(73.2% 0.106 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c68d',
    500: '#aaaf5d',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf5d;
$custom-light: #c5c68d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf5d",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 93
  },
  "hsl": {
    "h": 63.659,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.73195,
    "c": 0.10597,
    "h": 111.8
  },
  "luminance": 0.39996
}

Semantic roles & 50–950 ramp

primary
#AAAF5D
secondary
#A4A2C6
accent
#5ECA64
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AAAF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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