#AAA371#AAA371

#AAA371 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.9% C 0.068 H 101.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#AAA371
RGBrgb(170, 163, 113)
HSLhsl(53, 25%, 55%)
HSVhsv(53, 34%, 67%)
CMYKcmyk(0%, 4.1%, 33.5%, 33.3%)
CIE-LABlab(66.47, -5.27, 26.94)
CIE-LCHlch(66.47, 27.45, 101.08°)
OKLaboklab(70.91% -0.0132 0.067)
OKLCHoklch(70.91% 0.068 101.2)
XYZxyz(32.6558, 35.9335, 20.8352)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA371 #7178AA
analogous
#AA8671 #AAA371 #94AA71
triadic
#AAA371 #71AAA3 #A371AA
tetradic
#AAA371 #71AA86 #7178AA #AA7194
square
#AAA371 #71AA86 #7178AA #AA7194
split-complementary
#AAA371 #7194AA #8671AA
monochromatic
#64603C #8B8453 #AAA371 #C1BC97 #D8D5BE

Accessibility & contrast

On white

2.57
#AAA371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#AAA371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA371
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA371#FFFFFF#000000##000000
##AAA3711.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA06E
Deuteranopia (green-blind)
#AEA373
Tritanopia (blue-blind)
#B29C96
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa371;
/* rgb */ color: rgb(170, 163, 113);
/* oklch */ color: oklch(70.9% 0.068 101.2);
Tailwind
colors: {
  custom: {
    50: '#c4be9a',
    500: '#aaa371',
    950: '#000000',
  },
}
SCSS
$custom: #aaa371;
$custom-light: #c4be9a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa371",
  "rgb": {
    "r": 170,
    "g": 163,
    "b": 113
  },
  "hsl": {
    "h": 52.632,
    "s": 25.11,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7091,
    "c": 0.06828,
    "h": 101.2
  },
  "luminance": 0.35933
}

Semantic roles & 50–950 ramp

primary
#AAA371
secondary
#B0B2C7
accent
#71C266
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AAA371

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

Preview Lab → · Contrast checker → · Palette generator →

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