#AAA951#AAA951

#AAA951 is a light, moderate yellow. Relative luminance 0.375; OKLCH L 71.7% C 0.111 H 108.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#AAA951
RGBrgb(170, 169, 81)
HSLhsl(59, 35%, 49%)
HSVhsv(59, 52%, 67%)
CMYKcmyk(0%, 0.6%, 52.4%, 33.3%)
CIE-LABlab(67.66, -11.87, 44.95)
CIE-LCHlch(67.66, 46.49, 104.80°)
OKLaboklab(71.71% -0.0349 0.1055)
OKLCHoklch(71.71% 0.111 108.3)
XYZxyz(32.2515, 37.5169, 13.3255)
Luminance0.3752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA951 #5152AA
analogous
#AA7D51 #AAA951 #7FAA51
triadic
#AAA951 #51AAA9 #A951AA
tetradic
#AAA951 #51AA7D #5152AA #AA517F
square
#AAA951 #51AA7D #5152AA #AA517F
split-complementary
#AAA951 #517FAA #7D51AA
monochromatic
#57572A #81803D #AAA951 #BFBE79 #D3D2A2

Accessibility & contrast

On white

2.47
#AAA951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#AAA951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA951
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA951#FFFFFF#000000##000000
##AAA9511.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A349
Deuteranopia (green-blind)
#B6A656
Tritanopia (blue-blind)
#B5A095
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaa951;
/* rgb */ color: rgb(170, 169, 81);
/* oklch */ color: oklch(71.7% 0.111 108.3);
Tailwind
colors: {
  custom: {
    50: '#c5c284',
    500: '#aaa951',
    950: '#000000',
  },
}
SCSS
$custom: #aaa951;
$custom-light: #c5c284;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa951",
  "rgb": {
    "r": 170,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 59.326,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.71711,
    "c": 0.11117,
    "h": 108.3
  },
  "luminance": 0.37516
}

Semantic roles & 50–950 ramp

primary
#AAA951
secondary
#9797C0
accent
#5ECB5C
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AAA951

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

Preview Lab → · Contrast checker → · Palette generator →

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