#AAAB3B#AAAB3B

#AAAB3B is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.9% C 0.132 H 109.8°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#AAAB3B
RGBrgb(170, 171, 59)
HSLhsl(61, 49%, 45%)
HSVhsv(61, 65%, 67%)
CMYKcmyk(0.6%, 0%, 65.5%, 32.9%)
CIE-LABlab(68.01, -14.54, 55.26)
CIE-LCHlch(68.01, 57.14, 104.74°)
OKLaboklab(71.92% -0.0449 0.1246)
OKLCHoklch(71.92% 0.132 109.8)
XYZxyz(31.9309, 37.9885, 9.7873)
Luminance0.3799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAB3B #3C3BAB
analogous
#AB743B #AAAB3B #72AB3B
triadic
#AAAB3B #3BAAAB #AB3BAA
tetradic
#AAAB3B #3BAB74 #3C3BAB #AB3B72
square
#AAAB3B #3BAB74 #3C3BAB #AB3B72
split-complementary
#AAAB3B #3B72AB #743BAB
monochromatic
#50501C #7D7D2B #AAAB3B #C6C75C #D6D78A

Accessibility & contrast

On white

2.44
#AAAB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#AAAB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAB3B
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAB3B#FFFFFF#000000##000000
##AAAB3B1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42C
Deuteranopia (green-blind)
#BAA742
Tritanopia (blue-blind)
#B6A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaab3b;
/* rgb */ color: rgb(170, 171, 59);
/* oklch */ color: oklch(71.9% 0.132 109.8);
Tailwind
colors: {
  custom: {
    50: '#c6c377',
    500: '#aaab3b',
    950: '#000000',
  },
}
SCSS
$custom: #aaab3b;
$custom-light: #c6c377;
$custom-dark: #000000;
JSON
{
  "hex": "#aaab3b",
  "rgb": {
    "r": 170,
    "g": 171,
    "b": 59
  },
  "hsl": {
    "h": 60.536,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71924,
    "c": 0.13248,
    "h": 109.8
  },
  "luminance": 0.37988
}

Semantic roles & 50–950 ramp

primary
#AAAB3B
secondary
#8181C1
accent
#50D851
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAAB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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