#AAAF23#AAAF23

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

Color values

HEX#AAAF23
RGBrgb(170, 175, 35)
HSLhsl(62, 67%, 41%)
HSVhsv(62, 80%, 69%)
CMYKcmyk(2.9%, 0%, 80%, 31.4%)
CIE-LABlab(68.99, -17.73, 64.61)
CIE-LCHlch(68.99, 66.99, 105.34°)
OKLaboklab(72.66% -0.056 0.1402)
OKLCHoklch(72.66% 0.151 111.8)
XYZxyz(32.2120, 39.3282, 7.4840)
Luminance0.3933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF23 #2823AF
analogous
#AF6E23 #AAAF23 #64AF23
triadic
#AAAF23 #23AAAF #AF23AA
tetradic
#AAAF23 #23AF6E #2823AF #AF2364
square
#AAAF23 #23AF6E #2823AF #AF2364
split-complementary
#AAAF23 #2364AF #6E23AF
monochromatic
#47490F #787C19 #AAAF23 #D2D738 #DDE16B

Accessibility & contrast

On white

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

On black

8.87
#AAAF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF23
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF23#FFFFFF#000000##000000
##AAAF231.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.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: #aaaf23;
/* rgb */ color: rgb(170, 175, 35);
/* oklch */ color: oklch(72.7% 0.151 111.8);
Tailwind
colors: {
  custom: {
    50: '#c7c66c',
    500: '#aaaf23',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf23;
$custom-light: #c7c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf23",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 62.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.72659,
    "c": 0.15099,
    "h": 111.8
  },
  "luminance": 0.39327
}

Semantic roles & 50–950 ramp

primary
#AAAF23
secondary
#6A66C7
accent
#3EEA44
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #AAAF23

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

Preview Lab → · Contrast checker → · Palette generator →

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