#AAB02A#AAB02A

#AAB02A is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.9% C 0.149 H 112.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#AAB02A
RGBrgb(170, 176, 42)
HSLhsl(63, 61%, 43%)
HSVhsv(63, 76%, 69%)
CMYKcmyk(3.4%, 0%, 76.1%, 31%)
CIE-LABlab(69.30, -17.96, 62.78)
CIE-LCHlch(69.30, 65.30, 105.97°)
OKLaboklab(72.92% -0.0561 0.1376)
OKLCHoklch(72.92% 0.149 112.2)
XYZxyz(32.5219, 39.7647, 8.1522)
Luminance0.3976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB02A #302AB0
analogous
#B0732A #AAB02A #67B02A
triadic
#AAB02A #2AAAB0 #B02AAA
tetradic
#AAB02A #2AB073 #302AB0 #B02A67
square
#AAB02A #2AB073 #302AB0 #B02A67
split-complementary
#AAB02A #2A67B0 #732AB0
monochromatic
#4B4D12 #7A7F1E #AAB02A #CCD345 #DADE76

Accessibility & contrast

On white

2.35
#AAB02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#AAB02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB02A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB02A#FFFFFF#000000##000000
##AAB02A1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA806
Deuteranopia (green-blind)
#BEAB36
Tritanopia (blue-blind)
#B6A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aab02a;
/* rgb */ color: rgb(170, 176, 42);
/* oklch */ color: oklch(72.9% 0.149 112.2);
Tailwind
colors: {
  custom: {
    50: '#c7c76f',
    500: '#aab02a',
    950: '#000000',
  },
}
SCSS
$custom: #aab02a;
$custom-light: #c7c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#aab02a",
  "rgb": {
    "r": 170,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 62.687,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7292,
    "c": 0.14857,
    "h": 112.2
  },
  "luminance": 0.39764
}

Semantic roles & 50–950 ramp

primary
#AAB02A
secondary
#7470C6
accent
#43E54A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB02A

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

Preview Lab → · Contrast checker → · Palette generator →

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