#AAAB2A#AAAB2A

#AAAB2A is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.8% C 0.143 H 110.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AAAB2A
RGBrgb(170, 171, 42)
HSLhsl(60, 61%, 42%)
HSVhsv(60, 75%, 67%)
CMYKcmyk(0.6%, 0%, 75.4%, 32.9%)
CIE-LABlab(67.90, -15.42, 61.49)
CIE-LCHlch(67.90, 63.39, 104.08°)
OKLaboklab(71.8% -0.049 0.1348)
OKLCHoklch(71.8% 0.143 110)
XYZxyz(31.5595, 37.8400, 7.8314)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAB2A #2B2AAB
analogous
#AB6C2A #AAAB2A #6AAB2A
triadic
#AAAB2A #2AAAAB #AB2AAA
tetradic
#AAAB2A #2AAB6C #2B2AAB #AB2A6A
square
#AAAB2A #2AAB6C #2B2AAB #AB2A6A
split-complementary
#AAAB2A #2A6AAB #6C2AAB
monochromatic
#484912 #797A1E #AAAB2A #CFD142 #DCDD73

Accessibility & contrast

On white

2.45
#AAAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#AAAB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAB2A
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAB2A#FFFFFF#000000##000000
##AAAB2A1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A30B
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#B6A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaab2a;
/* rgb */ color: rgb(170, 171, 42);
/* oklch */ color: oklch(71.8% 0.143 110.0);
Tailwind
colors: {
  custom: {
    50: '#c7c36e',
    500: '#aaab2a',
    950: '#000000',
  },
}
SCSS
$custom: #aaab2a;
$custom-light: #c7c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaab2a",
  "rgb": {
    "r": 170,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 60.465,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71801,
    "c": 0.14347,
    "h": 110
  },
  "luminance": 0.37839
}

Semantic roles & 50–950 ramp

primary
#AAAB2A
secondary
#6E6DC4
accent
#44E445
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AAAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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