#AAAB2E#AAAB2E

#AAAB2E 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.57:1 contrast (WCAG AA passes).

Color values

HEX#AAAB2E
RGBrgb(170, 171, 46)
HSLhsl(60, 58%, 43%)
HSVhsv(60, 73%, 67%)
CMYKcmyk(0.6%, 0%, 73.1%, 32.9%)
CIE-LABlab(67.92, -15.24, 60.14)
CIE-LCHlch(67.92, 62.04, 104.22°)
OKLaboklab(71.83% -0.0482 0.1327)
OKLCHoklch(71.83% 0.141 109.9)
XYZxyz(31.6347, 37.8700, 8.2275)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAB2E #2F2EAB
analogous
#AB6D2E #AAAB2E #6BAB2E
triadic
#AAAB2E #2EAAAB #AB2EAA
tetradic
#AAAB2E #2EAB6D #2F2EAB #AB2E6B
square
#AAAB2E #2EAB6D #2F2EAB #AB2E6B
split-complementary
#AAAB2E #2E6BAB #6D2EAB
monochromatic
#4A4B14 #7A7B21 #AAAB2E #CDCE48 #DADB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAB2E#FFFFFF#000000##000000
##AAAB2E1.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)
#B9A415
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#B6A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaab2e;
/* rgb */ color: rgb(170, 171, 46);
/* oklch */ color: oklch(71.8% 0.141 109.9);
Tailwind
colors: {
  custom: {
    50: '#c7c370',
    500: '#aaab2e',
    950: '#000000',
  },
}
SCSS
$custom: #aaab2e;
$custom-light: #c7c370;
$custom-dark: #000000;
JSON
{
  "hex": "#aaab2e",
  "rgb": {
    "r": 170,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 60.48,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71826,
    "c": 0.14119,
    "h": 109.9
  },
  "luminance": 0.37869
}

Semantic roles & 50–950 ramp

primary
#AAAB2E
secondary
#7272C3
accent
#47E148
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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