#AAA731#AAA731

#AAA731 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.0% C 0.135 H 107.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#AAA731
RGBrgb(170, 167, 49)
HSLhsl(59, 55%, 43%)
HSVhsv(59, 71%, 67%)
CMYKcmyk(0%, 1.8%, 71.2%, 33.3%)
CIE-LABlab(66.83, -13.03, 58.00)
CIE-LCHlch(66.83, 59.45, 102.66°)
OKLaboklab(70.96% -0.0417 0.1287)
OKLCHoklch(70.96% 0.135 107.9)
XYZxyz(30.9518, 36.4062, 8.3018)
Luminance0.3640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA731 #3134AA
analogous
#AA6A31 #AAA731 #71AA31
triadic
#AAA731 #31AAA7 #A731AA
tetradic
#AAA731 #31AA6A #3134AA #AA3171
square
#AAA731 #31AA6A #3134AA #AA3171
split-complementary
#AAA731 #3171AA #6A31AA
monochromatic
#4B4A16 #7A7823 #AAA731 #CCC84D #D9D77C

Accessibility & contrast

On white

2.54
#AAA731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#AAA731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA731
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA731#FFFFFF#000000##000000
##AAA7311.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01D
Deuteranopia (green-blind)
#B7A539
Tritanopia (blue-blind)
#B69C90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa731;
/* rgb */ color: rgb(170, 167, 49);
/* oklch */ color: oklch(71.0% 0.135 107.9);
Tailwind
colors: {
  custom: {
    50: '#c7c071',
    500: '#aaa731',
    950: '#000000',
  },
}
SCSS
$custom: #aaa731;
$custom-light: #c7c071;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa731",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 58.512,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70957,
    "c": 0.13531,
    "h": 107.9
  },
  "luminance": 0.36405
}

Semantic roles & 50–950 ramp

primary
#AAA731
secondary
#7577C2
accent
#4DDF49
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAA731

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

Preview Lab → · Contrast checker → · Palette generator →

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