#AAAB2D#AAAB2D

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

Color values

HEX#AAAB2D
RGBrgb(170, 171, 45)
HSLhsl(60, 58%, 42%)
HSVhsv(60, 74%, 67%)
CMYKcmyk(0.6%, 0%, 73.7%, 32.9%)
CIE-LABlab(67.92, -15.28, 60.49)
CIE-LCHlch(67.92, 62.39, 104.18°)
OKLaboklab(71.82% -0.0484 0.1333)
OKLCHoklch(71.82% 0.142 110)
XYZxyz(31.6153, 37.8622, 8.1249)
Luminance0.3786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAB2D #2E2DAB
analogous
#AB6D2D #AAAB2D #6BAB2D
triadic
#AAAB2D #2DAAAB #AB2DAA
tetradic
#AAAB2D #2DAB6D #2E2DAB #AB2D6B
square
#AAAB2D #2DAB6D #2E2DAB #AB2D6B
split-complementary
#AAAB2D #2D6BAB #6D2DAB
monochromatic
#4A4A14 #7A7B20 #AAAB2D #CDCE47 #DADB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAB2D#FFFFFF#000000##000000
##AAAB2D1.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)
#B9A413
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#B6A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaab2d;
/* rgb */ color: rgb(170, 171, 45);
/* oklch */ color: oklch(71.8% 0.142 110.0);
Tailwind
colors: {
  custom: {
    50: '#c7c370',
    500: '#aaab2d',
    950: '#000000',
  },
}
SCSS
$custom: #aaab2d;
$custom-light: #c7c370;
$custom-dark: #000000;
JSON
{
  "hex": "#aaab2d",
  "rgb": {
    "r": 170,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 60.476,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71819,
    "c": 0.14177,
    "h": 110
  },
  "luminance": 0.37861
}

Semantic roles & 50–950 ramp

primary
#AAAB2D
secondary
#7171C3
accent
#46E247
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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