#AAAB2F#AAAB2F

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

Color values

HEX#AAAB2F
RGBrgb(170, 171, 47)
HSLhsl(60, 57%, 43%)
HSVhsv(60, 73%, 67%)
CMYKcmyk(0.6%, 0%, 72.5%, 32.9%)
CIE-LABlab(67.93, -15.19, 59.80)
CIE-LCHlch(67.93, 61.70, 104.25°)
OKLaboklab(71.83% -0.0479 0.1322)
OKLCHoklch(71.83% 0.141 109.9)
XYZxyz(31.6547, 37.8780, 8.3325)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAB2F #302FAB
analogous
#AB6E2F #AAAB2F #6CAB2F
triadic
#AAAB2F #2FAAAB #AB2FAA
tetradic
#AAAB2F #2FAB6E #302FAB #AB2F6C
square
#AAAB2F #2FAB6E #302FAB #AB2F6C
split-complementary
#AAAB2F #2F6CAB #6E2FAB
monochromatic
#4B4B15 #7A7B22 #AAAB2F #CCCD4A #DADA7A

Accessibility & contrast

On white

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

On black

8.58
#AAAB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAB2F
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAB2F#FFFFFF#000000##000000
##AAAB2F1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaab2f;
/* rgb */ color: rgb(170, 171, 47);
/* oklch */ color: oklch(71.8% 0.141 109.9);
Tailwind
colors: {
  custom: {
    50: '#c7c371',
    500: '#aaab2f',
    950: '#000000',
  },
}
SCSS
$custom: #aaab2f;
$custom-light: #c7c371;
$custom-dark: #000000;
JSON
{
  "hex": "#aaab2f",
  "rgb": {
    "r": 170,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 60.484,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71832,
    "c": 0.14059,
    "h": 109.9
  },
  "luminance": 0.37877
}

Semantic roles & 50–950 ramp

primary
#AAAB2F
secondary
#7473C3
accent
#48E049
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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