#AAB120#AAB120

#AAB120 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.1% C 0.154 H 112.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#AAB120
RGBrgb(170, 177, 32)
HSLhsl(63, 69%, 41%)
HSVhsv(63, 82%, 69%)
CMYKcmyk(4%, 0%, 81.9%, 30.6%)
CIE-LABlab(69.54, -18.84, 65.90)
CIE-LCHlch(69.54, 68.54, 105.95°)
OKLaboklab(73.1% -0.0593 0.1425)
OKLCHoklch(73.1% 0.154 112.6)
XYZxyz(32.5615, 40.0954, 7.3901)
Luminance0.4009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB120 #2720B1
analogous
#B17020 #AAB120 #61B120
triadic
#AAB120 #20AAB1 #B120AA
tetradic
#AAB120 #20B170 #2720B1 #B12061
square
#AAB120 #20B170 #2720B1 #B12061
split-complementary
#AAB120 #2061B1 #7020B1
monochromatic
#46490D #787D17 #AAB120 #D2DA34 #DEE468

Accessibility & contrast

On white

2.33
#AAB120 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#AAB120 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB120
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB120#FFFFFF#000000##000000
##AAB1201.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BFAB2F
Tritanopia (blue-blind)
#B6A697
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aab120;
/* rgb */ color: rgb(170, 177, 32);
/* oklch */ color: oklch(73.1% 0.154 112.6);
Tailwind
colors: {
  custom: {
    50: '#c7c86b',
    500: '#aab120',
    950: '#000000',
  },
}
SCSS
$custom: #aab120;
$custom-light: #c7c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#aab120",
  "rgb": {
    "r": 170,
    "g": 177,
    "b": 32
  },
  "hsl": {
    "h": 62.897,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.73095,
    "c": 0.1543,
    "h": 112.6
  },
  "luminance": 0.40095
}

Semantic roles & 50–950 ramp

primary
#AAB120
secondary
#6964C9
accent
#3CEC44
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #AAB120

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

Preview Lab → · Contrast checker → · Palette generator →

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