#AAAF26#AAAF26

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

Color values

HEX#AAAF26
RGBrgb(170, 175, 38)
HSLhsl(62, 64%, 42%)
HSVhsv(62, 78%, 69%)
CMYKcmyk(2.9%, 0%, 78.3%, 31.4%)
CIE-LABlab(69.00, -17.62, 63.75)
CIE-LCHlch(69.00, 66.14, 105.45°)
OKLaboklab(72.67% -0.0555 0.1389)
OKLCHoklch(72.67% 0.15 111.8)
XYZxyz(32.2585, 39.3468, 7.7287)
Luminance0.3935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF26 #2B26AF
analogous
#AF7026 #AAAF26 #66AF26
triadic
#AAAF26 #26AAAF #AF26AA
tetradic
#AAAF26 #26AF70 #2B26AF #AF2666
square
#AAAF26 #26AF70 #2B26AF #AF2666
split-complementary
#AAAF26 #2666AF #7026AF
monochromatic
#484A10 #797D1B #AAAF26 #CFD53D #DCE070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAF26#FFFFFF#000000##000000
##AAAF261.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)
#BEAA32
Tritanopia (blue-blind)
#B6A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aaaf26;
/* rgb */ color: rgb(170, 175, 38);
/* oklch */ color: oklch(72.7% 0.150 111.8);
Tailwind
colors: {
  custom: {
    50: '#c7c66d',
    500: '#aaaf26',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf26;
$custom-light: #c7c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf26",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 62.19,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72674,
    "c": 0.14958,
    "h": 111.8
  },
  "luminance": 0.39346
}

Semantic roles & 50–950 ramp

primary
#AAAF26
secondary
#6E6AC7
accent
#40E747
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #AAAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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