#AAAF22#AAAF22

#AAAF22 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.7% C 0.151 H 111.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#AAAF22
RGBrgb(170, 175, 34)
HSLhsl(62, 67%, 41%)
HSVhsv(62, 81%, 69%)
CMYKcmyk(2.9%, 0%, 80.6%, 31.4%)
CIE-LABlab(68.98, -17.76, 64.88)
CIE-LCHlch(68.98, 67.27, 105.31°)
OKLaboklab(72.65% -0.0562 0.1406)
OKLCHoklch(72.65% 0.151 111.8)
XYZxyz(32.1974, 39.3223, 7.4070)
Luminance0.3932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF22 #2722AF
analogous
#AF6D22 #AAAF22 #63AF22
triadic
#AAAF22 #22AAAF #AF22AA
tetradic
#AAAF22 #22AF6D #2722AF #AF2263
square
#AAAF22 #22AF6D #2722AF #AF2263
split-complementary
#AAAF22 #2263AF #6D22AF
monochromatic
#46490E #787C18 #AAAF22 #D2D836 #DEE269

Accessibility & contrast

On white

2.37
#AAAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#AAAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF22
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF22#FFFFFF#000000##000000
##AAAF221.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BEAA30
Tritanopia (blue-blind)
#B6A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aaaf22;
/* rgb */ color: rgb(170, 175, 34);
/* oklch */ color: oklch(72.7% 0.151 111.8);
Tailwind
colors: {
  custom: {
    50: '#c7c66b',
    500: '#aaaf22',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf22;
$custom-light: #c7c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf22",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 62.128,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72654,
    "c": 0.15143,
    "h": 111.8
  },
  "luminance": 0.39321
}

Semantic roles & 50–950 ramp

primary
#AAAF22
secondary
#6965C8
accent
#3DEA44
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #AAAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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