#AAAF47#AAAF47

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

Color values

HEX#AAAF47
RGBrgb(170, 175, 71)
HSLhsl(63, 42%, 48%)
HSVhsv(63, 59%, 69%)
CMYKcmyk(2.9%, 0%, 59.4%, 31.4%)
CIE-LABlab(69.23, -15.78, 51.39)
CIE-LCHlch(69.23, 53.76, 107.07°)
OKLaboklab(72.93% -0.0471 0.1182)
OKLCHoklch(72.93% 0.127 111.7)
XYZxyz(33.0457, 39.6616, 11.8747)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF47 #4C47AF
analogous
#AF8047 #AAAF47 #76AF47
triadic
#AAAF47 #47AAAF #AF47AA
tetradic
#AAAF47 #47AF80 #4C47AF #AF4776
square
#AAAF47 #47AF80 #4C47AF #AF4776
split-complementary
#AAAF47 #4776AF #8047AF
monochromatic
#555824 #808335 #AAAF47 #C0C46F #D3D69A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAF47#FFFFFF#000000##000000
##AAAF471.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)
#BBA83B
Deuteranopia (green-blind)
#BCAA4D
Tritanopia (blue-blind)
#B5A599
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf47;
/* rgb */ color: rgb(170, 175, 71);
/* oklch */ color: oklch(72.9% 0.127 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c67e',
    500: '#aaaf47',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf47;
$custom-light: #c6c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf47",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 62.885,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72927,
    "c": 0.12723,
    "h": 111.7
  },
  "luminance": 0.39661
}

Semantic roles & 50–950 ramp

primary
#AAAF47
secondary
#928FC2
accent
#56D25C
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAAF47

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

Preview Lab → · Contrast checker → · Palette generator →

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