#AAA831#AAA831

#AAA831 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.2% C 0.136 H 108.5°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#AAA831
RGBrgb(170, 168, 49)
HSLhsl(59, 55%, 43%)
HSVhsv(59, 71%, 67%)
CMYKcmyk(0%, 1.2%, 71.2%, 33.3%)
CIE-LABlab(67.11, -13.55, 58.27)
CIE-LCHlch(67.11, 59.83, 103.09°)
OKLaboklab(71.18% -0.0431 0.1293)
OKLCHoklch(71.18% 0.136 108.5)
XYZxyz(31.1357, 36.7740, 8.3631)
Luminance0.3677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA831 #3133AA
analogous
#AA6B31 #AAA831 #70AA31
triadic
#AAA831 #31AAA8 #A831AA
tetradic
#AAA831 #31AA6B #3133AA #AA3170
square
#AAA831 #31AA6B #3133AA #AA3170
split-complementary
#AAA831 #3170AA #6B31AA
monochromatic
#4B4A16 #7A7923 #AAA831 #CCC94D #D9D87C

Accessibility & contrast

On white

2.51
#AAA831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#AAA831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA831
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA831#FFFFFF#000000##000000
##AAA8311.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11C
Deuteranopia (green-blind)
#B8A53A
Tritanopia (blue-blind)
#B69D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa831;
/* rgb */ color: rgb(170, 168, 49);
/* oklch */ color: oklch(71.2% 0.136 108.5);
Tailwind
colors: {
  custom: {
    50: '#c7c171',
    500: '#aaa831',
    950: '#000000',
  },
}
SCSS
$custom: #aaa831;
$custom-light: #c7c171;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa831",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 59.008,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71179,
    "c": 0.13631,
    "h": 108.5
  },
  "luminance": 0.36773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AAA831

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

Preview Lab → · Contrast checker → · Palette generator →

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