#AAAF48#AAAF48

#AAAF48 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.9% C 0.126 H 111.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#AAAF48
RGBrgb(170, 175, 72)
HSLhsl(63, 42%, 48%)
HSVhsv(63, 59%, 69%)
CMYKcmyk(2.9%, 0%, 58.9%, 31.4%)
CIE-LABlab(69.24, -15.70, 50.95)
CIE-LCHlch(69.24, 53.32, 107.13°)
OKLaboklab(72.94% -0.0468 0.1174)
OKLCHoklch(72.94% 0.126 111.7)
XYZxyz(33.0781, 39.6746, 12.0451)
Luminance0.3967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF48 #4D48AF
analogous
#AF8048 #AAAF48 #76AF48
triadic
#AAAF48 #48AAAF #AF48AA
tetradic
#AAAF48 #48AF80 #4D48AF #AF4876
square
#AAAF48 #48AF80 #4D48AF #AF4876
split-complementary
#AAAF48 #4876AF #8048AF
monochromatic
#565824 #808436 #AAAF48 #C0C470 #D3D69B

Accessibility & contrast

On white

2.35
#AAAF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#AAAF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF48
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF48#FFFFFF#000000##000000
##AAAF481.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA83D
Deuteranopia (green-blind)
#BCAA4E
Tritanopia (blue-blind)
#B5A599
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf48;
/* rgb */ color: rgb(170, 175, 72);
/* oklch */ color: oklch(72.9% 0.126 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c67f',
    500: '#aaaf48',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf48;
$custom-light: #c6c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf48",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 62.913,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72937,
    "c": 0.12637,
    "h": 111.7
  },
  "luminance": 0.39674
}

Semantic roles & 50–950 ramp

primary
#AAAF48
secondary
#9390C2
accent
#56D25C
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAAF48

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

Preview Lab → · Contrast checker → · Palette generator →

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