#AAA631#AAA631

#AAA631 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.7% C 0.134 H 107.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#AAA631
RGBrgb(170, 166, 49)
HSLhsl(58, 55%, 43%)
HSVhsv(58, 71%, 67%)
CMYKcmyk(0%, 2.4%, 71.2%, 33.3%)
CIE-LABlab(66.55, -12.51, 57.73)
CIE-LCHlch(66.55, 59.07, 102.22°)
OKLaboklab(70.74% -0.0402 0.1282)
OKLCHoklch(70.74% 0.134 107.4)
XYZxyz(30.7693, 36.0413, 8.2410)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA631 #3135AA
analogous
#AA6A31 #AAA631 #71AA31
triadic
#AAA631 #31AAA6 #A631AA
tetradic
#AAA631 #31AA6A #3135AA #AA3171
square
#AAA631 #31AA6A #3135AA #AA3171
split-complementary
#AAA631 #3171AA #6A31AA
monochromatic
#4B4916 #7A7823 #AAA631 #CCC74D #D9D67C

Accessibility & contrast

On white

2.56
#AAA631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#AAA631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA631
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA631#FFFFFF#000000##000000
##AAA6311.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1D
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#B69B8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa631;
/* rgb */ color: rgb(170, 166, 49);
/* oklch */ color: oklch(70.7% 0.134 107.4);
Tailwind
colors: {
  custom: {
    50: '#c7c071',
    500: '#aaa631',
    950: '#000000',
  },
}
SCSS
$custom: #aaa631;
$custom-light: #c7c071;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa631",
  "rgb": {
    "r": 170,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 58.017,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70735,
    "c": 0.13432,
    "h": 107.4
  },
  "luminance": 0.3604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AAA631

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

Preview Lab → · Contrast checker → · Palette generator →

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