#AAAF52#AAAF52

#AAAF52 is a light, moderate yellow. Relative luminance 0.398; OKLCH L 73.1% C 0.117 H 111.7°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#AAAF52
RGBrgb(170, 175, 82)
HSLhsl(63, 37%, 50%)
HSVhsv(63, 53%, 69%)
CMYKcmyk(2.9%, 0%, 53.1%, 31.4%)
CIE-LABlab(69.34, -14.89, 46.42)
CIE-LCHlch(69.34, 48.75, 107.79°)
OKLaboklab(73.05% -0.0434 0.1088)
OKLCHoklch(73.05% 0.117 111.7)
XYZxyz(33.4312, 39.8159, 13.9051)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF52 #5752AF
analogous
#AF8552 #AAAF52 #7BAF52
triadic
#AAAF52 #52AAAF #AF52AA
tetradic
#AAAF52 #52AF85 #5752AF #AF527B
square
#AAAF52 #52AF85 #5752AF #AF527B
split-complementary
#AAAF52 #527BAF #8552AF
monochromatic
#595C2B #82863E #AAAF52 #BFC27C #D3D6A6

Accessibility & contrast

On white

2.34
#AAAF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#AAAF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF52
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF52#FFFFFF#000000##000000
##AAAF521.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA849
Deuteranopia (green-blind)
#BBAB57
Tritanopia (blue-blind)
#B4A69A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf52;
/* rgb */ color: rgb(170, 175, 82);
/* oklch */ color: oklch(73.1% 0.117 111.7);
Tailwind
colors: {
  custom: {
    50: '#c5c685',
    500: '#aaaf52',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf52;
$custom-light: #c5c685;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf52",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 82
  },
  "hsl": {
    "h": 63.226,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73051,
    "c": 0.11717,
    "h": 111.7
  },
  "luminance": 0.39815
}

Semantic roles & 50–950 ramp

primary
#AAAF52
secondary
#9C9AC3
accent
#5BCD61
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AAAF52

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

Preview Lab → · Contrast checker → · Palette generator →

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