#AAA978#AAA978

#AAA978 is a light, moderate yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.067 H 107.0°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#AAA978
RGBrgb(170, 169, 120)
HSLhsl(59, 23%, 57%)
HSVhsv(59, 29%, 67%)
CMYKcmyk(0%, 0.6%, 29.4%, 33.3%)
CIE-LABlab(68.23, -7.56, 25.50)
CIE-LCHlch(68.23, 26.59, 106.52°)
OKLaboklab(72.34% -0.0195 0.0638)
OKLCHoklch(72.34% 0.067 107)
XYZxyz(34.1558, 38.2786, 23.3549)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA978 #7879AA
analogous
#AA9078 #AAA978 #92AA78
triadic
#AAA978 #78AAA9 #A978AA
tetradic
#AAA978 #78AA90 #7879AA #AA7892
square
#AAA978 #78AA90 #7879AA #AA7892
split-complementary
#AAA978 #7892AA #9078AA
monochromatic
#676641 #8C8B58 #AAA978 #C2C19E #D9D9C3

Accessibility & contrast

On white

2.43
#AAA978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#AAA978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA978
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA978#FFFFFF#000000##000000
##AAA9781.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A575
Deuteranopia (green-blind)
#B2A77A
Tritanopia (blue-blind)
#B1A39C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaa978;
/* rgb */ color: rgb(170, 169, 120);
/* oklch */ color: oklch(72.3% 0.067 107.0);
Tailwind
colors: {
  custom: {
    50: '#c4c29f',
    500: '#aaa978',
    950: '#000000',
  },
}
SCSS
$custom: #aaa978;
$custom-light: #c4c29f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa978",
  "rgb": {
    "r": 170,
    "g": 169,
    "b": 120
  },
  "hsl": {
    "h": 58.8,
    "s": 22.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.72341,
    "c": 0.06667,
    "h": 107
  },
  "luminance": 0.38278
}

Semantic roles & 50–950 ramp

primary
#AAA978
secondary
#B5B5C9
accent
#6ABF69
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #AAA978

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

Preview Lab → · Contrast checker → · Palette generator →

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