#AAA940#AAA940

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

Color values

HEX#AAA940
RGBrgb(170, 169, 64)
HSLhsl(59, 45%, 46%)
HSVhsv(59, 62%, 67%)
CMYKcmyk(0%, 0.6%, 62.4%, 33.3%)
CIE-LABlab(67.50, -13.18, 52.60)
CIE-LCHlch(67.50, 54.23, 104.07°)
OKLaboklab(71.53% -0.0405 0.1198)
OKLCHoklch(71.53% 0.126 108.7)
XYZxyz(31.6919, 37.2931, 10.3783)
Luminance0.3729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA940 #4041AA
analogous
#AA7440 #AAA940 #76AA40
triadic
#AAA940 #40AAA9 #A940AA
tetradic
#AAA940 #40AA74 #4041AA #AA4076
square
#AAA940 #40AA74 #4041AA #AA4076
split-complementary
#AAA940 #4076AA #7440AA
monochromatic
#51511F #7E7D2F #AAA940 #C4C363 #D5D48F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA940#FFFFFF#000000##000000
##AAA9401.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)
#B6A233
Deuteranopia (green-blind)
#B8A646
Tritanopia (blue-blind)
#B69F93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aaa940;
/* rgb */ color: rgb(170, 169, 64);
/* oklch */ color: oklch(71.5% 0.126 108.7);
Tailwind
colors: {
  custom: {
    50: '#c6c27a',
    500: '#aaa940',
    950: '#000000',
  },
}
SCSS
$custom: #aaa940;
$custom-light: #c6c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa940",
  "rgb": {
    "r": 170,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 59.434,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71525,
    "c": 0.12646,
    "h": 108.7
  },
  "luminance": 0.37292
}

Semantic roles & 50–950 ramp

primary
#AAA940
secondary
#8686C0
accent
#54D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA940

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

Preview Lab → · Contrast checker → · Palette generator →

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