#AAAB2B#AAAB2B

#AAAB2B 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#AAAB2B
RGBrgb(170, 171, 43)
HSLhsl(60, 60%, 42%)
HSVhsv(60, 75%, 67%)
CMYKcmyk(0.6%, 0%, 74.9%, 32.9%)
CIE-LABlab(67.91, -15.37, 61.16)
CIE-LCHlch(67.91, 63.06, 104.11°)
OKLaboklab(71.81% -0.0488 0.1343)
OKLCHoklch(71.81% 0.143 110)
XYZxyz(31.5777, 37.8472, 7.9269)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAB2B #2C2BAB
analogous
#AB6C2B #AAAB2B #6AAB2B
triadic
#AAAB2B #2BAAAB #AB2BAA
tetradic
#AAAB2B #2BAB6C #2C2BAB #AB2B6A
square
#AAAB2B #2BAB6C #2C2BAB #AB2B6A
split-complementary
#AAAB2B #2B6AAB #6C2BAB
monochromatic
#494912 #797A1F #AAAB2B #CFD043 #DBDC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAB2B#FFFFFF#000000##000000
##AAAB2B1.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)
#B9A30E
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#B6A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaab2b;
/* rgb */ color: rgb(170, 171, 43);
/* oklch */ color: oklch(71.8% 0.143 110.0);
Tailwind
colors: {
  custom: {
    50: '#c7c36f',
    500: '#aaab2b',
    950: '#000000',
  },
}
SCSS
$custom: #aaab2b;
$custom-light: #c7c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaab2b",
  "rgb": {
    "r": 170,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 60.469,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71807,
    "c": 0.14292,
    "h": 110
  },
  "luminance": 0.37846
}

Semantic roles & 50–950 ramp

primary
#AAAB2B
secondary
#6F6EC4
accent
#45E346
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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