#AAAF49#AAAF49

#AAAF49 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.94:1 contrast (WCAG AA passes).

Color values

HEX#AAAF49
RGBrgb(170, 175, 73)
HSLhsl(63, 41%, 49%)
HSVhsv(63, 58%, 69%)
CMYKcmyk(2.9%, 0%, 58.3%, 31.4%)
CIE-LABlab(69.25, -15.63, 50.51)
CIE-LCHlch(69.25, 52.87, 107.19°)
OKLaboklab(72.95% -0.0465 0.1166)
OKLCHoklch(72.95% 0.126 111.7)
XYZxyz(33.1110, 39.6877, 12.2183)
Luminance0.3969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF49 #4E49AF
analogous
#AF8149 #AAAF49 #77AF49
triadic
#AAAF49 #49AAAF #AF49AA
tetradic
#AAAF49 #49AF81 #4E49AF #AF4977
square
#AAAF49 #49AF81 #4E49AF #AF4977
split-complementary
#AAAF49 #4977AF #8149AF
monochromatic
#565925 #808437 #AAAF49 #C0C471 #D3D69C

Accessibility & contrast

On white

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

On black

8.94
#AAAF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF49
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF49#FFFFFF#000000##000000
##AAAF491.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaaf49;
/* rgb */ color: rgb(170, 175, 73);
/* oklch */ color: oklch(72.9% 0.126 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c680',
    500: '#aaaf49',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf49;
$custom-light: #c6c680;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf49",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 73
  },
  "hsl": {
    "h": 62.941,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72948,
    "c": 0.1255,
    "h": 111.7
  },
  "luminance": 0.39687
}

Semantic roles & 50–950 ramp

primary
#AAAF49
secondary
#9491C2
accent
#57D15D
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAAF49

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

Preview Lab → · Contrast checker → · Palette generator →

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