#AAAB2C#AAAB2C

#AAAB2C 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#AAAB2C
RGBrgb(170, 171, 44)
HSLhsl(60, 59%, 42%)
HSVhsv(60, 74%, 67%)
CMYKcmyk(0.6%, 0%, 74.3%, 32.9%)
CIE-LABlab(67.91, -15.33, 60.82)
CIE-LCHlch(67.91, 62.73, 104.15°)
OKLaboklab(71.81% -0.0486 0.1338)
OKLCHoklch(71.81% 0.142 110)
XYZxyz(31.5962, 37.8546, 8.0247)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAB2C #2D2CAB
analogous
#AB6C2C #AAAB2C #6BAB2C
triadic
#AAAB2C #2CAAAB #AB2CAA
tetradic
#AAAB2C #2CAB6C #2D2CAB #AB2C6B
square
#AAAB2C #2CAB6C #2D2CAB #AB2C6B
split-complementary
#AAAB2C #2C6BAB #6C2CAB
monochromatic
#494A13 #7A7A1F #AAAB2C #CECF45 #DBDC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAB2C#FFFFFF#000000##000000
##AAAB2C1.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)
#B9A310
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#B6A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaab2c;
/* rgb */ color: rgb(170, 171, 44);
/* oklch */ color: oklch(71.8% 0.142 110.0);
Tailwind
colors: {
  custom: {
    50: '#c7c36f',
    500: '#aaab2c',
    950: '#000000',
  },
}
SCSS
$custom: #aaab2c;
$custom-light: #c7c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaab2c",
  "rgb": {
    "r": 170,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 60.472,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71813,
    "c": 0.14234,
    "h": 110
  },
  "luminance": 0.37854
}

Semantic roles & 50–950 ramp

primary
#AAAB2C
secondary
#706FC3
accent
#46E247
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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