#AAA331#AAA331

#AAA331 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.1% C 0.131 H 105.8°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#AAA331
RGBrgb(170, 163, 49)
HSLhsl(57, 55%, 43%)
HSVhsv(57, 71%, 67%)
CMYKcmyk(0%, 4.1%, 71.2%, 33.3%)
CIE-LABlab(65.72, -10.94, 56.92)
CIE-LCHlch(65.72, 57.96, 100.88°)
OKLaboklab(70.07% -0.0358 0.1264)
OKLCHoklch(70.07% 0.131 105.8)
XYZxyz(30.2303, 34.9633, 8.0613)
Luminance0.3496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA331 #3138AA
analogous
#AA6631 #AAA331 #74AA31
triadic
#AAA331 #31AAA3 #A331AA
tetradic
#AAA331 #31AA66 #3138AA #AA3174
square
#AAA331 #31AA66 #3138AA #AA3174
split-complementary
#AAA331 #3174AA #6631AA
monochromatic
#4B4816 #7A7523 #AAA331 #CCC44D #D9D47C

Accessibility & contrast

On white

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

On black

7.99
#AAA331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA331
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA331#FFFFFF#000000##000000
##AAA3311.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#B7988D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa331;
/* rgb */ color: rgb(170, 163, 49);
/* oklch */ color: oklch(70.1% 0.131 105.8);
Tailwind
colors: {
  custom: {
    50: '#c7be71',
    500: '#aaa331',
    950: '#000000',
  },
}
SCSS
$custom: #aaa331;
$custom-light: #c7be71;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa331",
  "rgb": {
    "r": 170,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 56.529,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70073,
    "c": 0.13142,
    "h": 105.8
  },
  "luminance": 0.34962
}

Semantic roles & 50–950 ramp

primary
#AAA331
secondary
#7579C2
accent
#52DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA331

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

Preview Lab → · Contrast checker → · Palette generator →

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