#AAA931#AAA931

#AAA931 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.4% C 0.137 H 108.9°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#AAA931
RGBrgb(170, 169, 49)
HSLhsl(60, 55%, 43%)
HSVhsv(60, 71%, 67%)
CMYKcmyk(0%, 0.6%, 71.2%, 33.3%)
CIE-LABlab(67.39, -14.06, 58.54)
CIE-LCHlch(67.39, 60.21, 103.51°)
OKLaboklab(71.4% -0.0446 0.1299)
OKLCHoklch(71.4% 0.137 108.9)
XYZxyz(31.3210, 37.1447, 8.4249)
Luminance0.3714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA931 #3132AA
analogous
#AA6C31 #AAA931 #6EAA31
triadic
#AAA931 #31AAA9 #A931AA
tetradic
#AAA931 #31AA6C #3132AA #AA316E
square
#AAA931 #31AA6C #3132AA #AA316E
split-complementary
#AAA931 #316EAA #6C31AA
monochromatic
#4B4B16 #7A7A23 #AAA931 #CCCB4D #D9D97C

Accessibility & contrast

On white

2.49
#AAA931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#AAA931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA931
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA931#FFFFFF#000000##000000
##AAA9311.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21C
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#B69E92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aaa931;
/* rgb */ color: rgb(170, 169, 49);
/* oklch */ color: oklch(71.4% 0.137 108.9);
Tailwind
colors: {
  custom: {
    50: '#c7c271',
    500: '#aaa931',
    950: '#000000',
  },
}
SCSS
$custom: #aaa931;
$custom-light: #c7c271;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa931",
  "rgb": {
    "r": 170,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 59.504,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71401,
    "c": 0.13731,
    "h": 108.9
  },
  "luminance": 0.37144
}

Semantic roles & 50–950 ramp

primary
#AAA931
secondary
#7576C2
accent
#4ADF49
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA931

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

Preview Lab → · Contrast checker → · Palette generator →

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