#AAA942#AAA942

#AAA942 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.5% C 0.125 H 108.7°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#AAA942
RGBrgb(170, 169, 66)
HSLhsl(59, 44%, 46%)
HSVhsv(59, 61%, 67%)
CMYKcmyk(0%, 0.6%, 61.2%, 33.3%)
CIE-LABlab(67.51, -13.05, 51.74)
CIE-LCHlch(67.51, 53.36, 104.15°)
OKLaboklab(71.54% -0.0399 0.1183)
OKLCHoklch(71.54% 0.125 108.7)
XYZxyz(31.7499, 37.3162, 10.6835)
Luminance0.3731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA942 #4243AA
analogous
#AA7542 #AAA942 #77AA42
triadic
#AAA942 #42AAA9 #A942AA
tetradic
#AAA942 #42AA75 #4243AA #AA4277
square
#AAA942 #42AA75 #4243AA #AA4277
split-complementary
#AAA942 #4277AA #7542AA
monochromatic
#525120 #7E7D31 #AAA942 #C3C366 #D5D492

Accessibility & contrast

On white

2.48
#AAA942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#AAA942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA942
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA942#FFFFFF#000000##000000
##AAA9421.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A236
Deuteranopia (green-blind)
#B8A648
Tritanopia (blue-blind)
#B59F93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aaa942;
/* rgb */ color: rgb(170, 169, 66);
/* oklch */ color: oklch(71.5% 0.125 108.7);
Tailwind
colors: {
  custom: {
    50: '#c6c27b',
    500: '#aaa942',
    950: '#000000',
  },
}
SCSS
$custom: #aaa942;
$custom-light: #c6c27b;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa942",
  "rgb": {
    "r": 170,
    "g": 169,
    "b": 66
  },
  "hsl": {
    "h": 59.423,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71544,
    "c": 0.12482,
    "h": 108.7
  },
  "luminance": 0.37315
}

Semantic roles & 50–950 ramp

primary
#AAA942
secondary
#8888C0
accent
#55D454
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AAA942

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

Preview Lab → · Contrast checker → · Palette generator →

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