#AAA728#AAA728

#AAA728 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.9% C 0.141 H 108.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#AAA728
RGBrgb(170, 167, 40)
HSLhsl(59, 62%, 41%)
HSVhsv(59, 76%, 67%)
CMYKcmyk(0%, 1.8%, 76.5%, 33.3%)
CIE-LABlab(66.78, -13.44, 61.10)
CIE-LCHlch(66.78, 62.56, 102.40°)
OKLaboklab(70.9% -0.0437 0.1336)
OKLCHoklch(70.9% 0.141 108.1)
XYZxyz(30.7805, 36.3377, 7.3996)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA728 #282BAA
analogous
#AA6628 #AAA728 #6CAA28
triadic
#AAA728 #28AAA7 #A728AA
tetradic
#AAA728 #28AA66 #282BAA #AA286C
square
#AAA728 #28AA66 #282BAA #AA286C
split-complementary
#AAA728 #286CAA #6628AA
monochromatic
#474611 #78761C #AAA728 #D2CE3E #DDDB6F

Accessibility & contrast

On white

2.54
#AAA728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#AAA728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA728
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA728#FFFFFF#000000##000000
##AAA7281.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#B79C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa728;
/* rgb */ color: rgb(170, 167, 40);
/* oklch */ color: oklch(70.9% 0.141 108.1);
Tailwind
colors: {
  custom: {
    50: '#c7c06d',
    500: '#aaa728',
    950: '#000000',
  },
}
SCSS
$custom: #aaa728;
$custom-light: #c7c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa728",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 58.615,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70899,
    "c": 0.1406,
    "h": 108.1
  },
  "luminance": 0.36337
}

Semantic roles & 50–950 ramp

primary
#AAA728
secondary
#6A6CC4
accent
#47E543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AAA728

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

Preview Lab → · Contrast checker → · Palette generator →

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