#AAA328#AAA328

#AAA328 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.0% C 0.137 H 106.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#AAA328
RGBrgb(170, 163, 40)
HSLhsl(57, 62%, 41%)
HSVhsv(57, 76%, 67%)
CMYKcmyk(0%, 4.1%, 76.5%, 33.3%)
CIE-LABlab(65.67, -11.36, 60.08)
CIE-LCHlch(65.67, 61.15, 100.70°)
OKLaboklab(70.01% -0.0379 0.1315)
OKLCHoklch(70.01% 0.137 106.1)
XYZxyz(30.0590, 34.8948, 7.1591)
Luminance0.3489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA328 #282FAA
analogous
#AA6228 #AAA328 #70AA28
triadic
#AAA328 #28AAA3 #A328AA
tetradic
#AAA328 #28AA62 #282FAA #AA2870
square
#AAA328 #28AA62 #282FAA #AA2870
split-complementary
#AAA328 #2870AA #6228AA
monochromatic
#474411 #78731C #AAA328 #D2CA3E #DDD76F

Accessibility & contrast

On white

2.63
#AAA328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#AAA328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA328
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA328#FFFFFF#000000##000000
##AAA3281.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D0A
Deuteranopia (green-blind)
#B4A232
Tritanopia (blue-blind)
#B7988C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa328;
/* rgb */ color: rgb(170, 163, 40);
/* oklch */ color: oklch(70.0% 0.137 106.1);
Tailwind
colors: {
  custom: {
    50: '#c7bd6c',
    500: '#aaa328',
    950: '#000000',
  },
}
SCSS
$custom: #aaa328;
$custom-light: #c7bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa328",
  "rgb": {
    "r": 170,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 56.769,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70013,
    "c": 0.13681,
    "h": 106.1
  },
  "luminance": 0.34894
}

Semantic roles & 50–950 ramp

primary
#AAA328
secondary
#6A6FC4
accent
#4CE543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AAA328

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

Preview Lab → · Contrast checker → · Palette generator →

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