#AAAF32#AAAF32

#AAAF32 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.7% C 0.143 H 111.7°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#AAAF32
RGBrgb(170, 175, 50)
HSLhsl(62, 56%, 44%)
HSVhsv(62, 71%, 69%)
CMYKcmyk(2.9%, 0%, 71.4%, 31.4%)
CIE-LABlab(69.07, -17.09, 59.81)
CIE-LCHlch(69.07, 62.20, 105.94°)
OKLaboklab(72.75% -0.0529 0.1327)
OKLCHoklch(72.75% 0.143 111.7)
XYZxyz(32.4843, 39.4371, 8.9179)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF32 #3732AF
analogous
#AF7632 #AAAF32 #6CAF32
triadic
#AAAF32 #32AAAF #AF32AA
tetradic
#AAAF32 #32AF76 #3732AF #AF326C
square
#AAAF32 #32AF76 #3732AF #AF326C
split-complementary
#AAAF32 #326CAF #7632AF
monochromatic
#4E5017 #7C7F24 #AAAF32 #C8CD51 #D7DB81

Accessibility & contrast

On white

2.36
#AAAF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#AAAF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF32
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF32#FFFFFF#000000##000000
##AAAF321.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71C
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#B6A497
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf32;
/* rgb */ color: rgb(170, 175, 50);
/* oklch */ color: oklch(72.7% 0.143 111.7);
Tailwind
colors: {
  custom: {
    50: '#c7c673',
    500: '#aaaf32',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf32;
$custom-light: #c7c673;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf32",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 62.4,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72747,
    "c": 0.1429,
    "h": 111.7
  },
  "luminance": 0.39436
}

Semantic roles & 50–950 ramp

primary
#AAAF32
secondary
#7C79C4
accent
#49DF4F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAAF32

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

Preview Lab → · Contrast checker → · Palette generator →

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