#AA9F28#AA9F28

#AA9F28 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.1% C 0.133 H 103.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#AA9F28
RGBrgb(170, 159, 40)
HSLhsl(55, 62%, 41%)
HSVhsv(55, 76%, 67%)
CMYKcmyk(0%, 6.5%, 76.5%, 33.3%)
CIE-LABlab(64.56, -9.25, 59.06)
CIE-LCHlch(64.56, 59.78, 98.90°)
OKLaboklab(69.13% -0.032 0.1293)
OKLCHoklch(69.13% 0.133 103.9)
XYZxyz(29.3600, 33.4967, 6.9261)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9F28 #2833AA
analogous
#AA5E28 #AA9F28 #74AA28
triadic
#AA9F28 #28AA9F #9F28AA
tetradic
#AA9F28 #28AA5E #2833AA #AA2874
square
#AA9F28 #28AA5E #2833AA #AA2874
split-complementary
#AA9F28 #2874AA #5E28AA
monochromatic
#474211 #78711C #AA9F28 #D2C53E #DDD46F

Accessibility & contrast

On white

2.73
#AA9F28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#AA9F28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9F28
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9F28#FFFFFF#000000##000000
##AA9F281.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE990D
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#B79488
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa9f28;
/* rgb */ color: rgb(170, 159, 40);
/* oklch */ color: oklch(69.1% 0.133 103.9);
Tailwind
colors: {
  custom: {
    50: '#c7bb6c',
    500: '#aa9f28',
    950: '#000000',
  },
}
SCSS
$custom: #aa9f28;
$custom-light: #c7bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9f28",
  "rgb": {
    "r": 170,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 54.923,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69133,
    "c": 0.13318,
    "h": 103.9
  },
  "luminance": 0.33496
}

Semantic roles & 50–950 ramp

primary
#AA9F28
secondary
#6A71C4
accent
#51E543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9F28

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

Preview Lab → · Contrast checker → · Palette generator →

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