#AA9228#AA9228

#AA9228 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.3% C 0.123 H 95.7°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AA9228
RGBrgb(170, 146, 40)
HSLhsl(49, 62%, 41%)
HSVhsv(49, 76%, 67%)
CMYKcmyk(0%, 14.1%, 76.5%, 33.3%)
CIE-LABlab(61.01, -2.28, 55.75)
CIE-LCHlch(61.01, 55.80, 92.34°)
OKLaboklab(66.32% -0.0122 0.1222)
OKLCHoklch(66.32% 0.123 95.7)
XYZxyz(27.2409, 29.2585, 6.2197)
Luminance0.2926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9228 #2840AA
analogous
#AA5128 #AA9228 #81AA28
triadic
#AA9228 #28AA92 #9228AA
tetradic
#AA9228 #28AA51 #2840AA #AA2881
square
#AA9228 #28AA51 #2840AA #AA2881
split-complementary
#AA9228 #2881AA #5128AA
monochromatic
#473D11 #78671C #AA9228 #D2B63E #DDC96F

Accessibility & contrast

On white

3.07
#AA9228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#AA9228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA9228
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9228#FFFFFF#000000##000000
##AA92281.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F14
Deuteranopia (green-blind)
#A8962F
Tritanopia (blue-blind)
#B8867E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa9228;
/* rgb */ color: rgb(170, 146, 40);
/* oklch */ color: oklch(66.3% 0.123 95.7);
Tailwind
colors: {
  custom: {
    50: '#c7b16a',
    500: '#aa9228',
    950: '#000000',
  },
}
SCSS
$custom: #aa9228;
$custom-light: #c7b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9228",
  "rgb": {
    "r": 170,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 48.923,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66315,
    "c": 0.12285,
    "h": 95.7
  },
  "luminance": 0.29257
}

Semantic roles & 50–950 ramp

primary
#AA9228
secondary
#6A7AC4
accent
#61E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA9228

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

Preview Lab → · Contrast checker → · Palette generator →

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