#AAB02C#AAB02C

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

Color values

HEX#AAB02C
RGBrgb(170, 176, 44)
HSLhsl(63, 60%, 43%)
HSVhsv(63, 75%, 69%)
CMYKcmyk(3.4%, 0%, 75%, 31%)
CIE-LABlab(69.31, -17.88, 62.13)
CIE-LCHlch(69.31, 64.65, 106.05°)
OKLaboklab(72.93% -0.0557 0.1366)
OKLCHoklch(72.93% 0.147 112.2)
XYZxyz(32.5586, 39.7794, 8.3455)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB02C #322CB0
analogous
#B0742C #AAB02C #68B02C
triadic
#AAB02C #2CAAB0 #B02CAA
tetradic
#AAB02C #2CB074 #322CB0 #B02C68
square
#AAB02C #2CB074 #322CB0 #B02C68
split-complementary
#AAB02C #2C68B0 #742CB0
monochromatic
#4B4E14 #7B7F20 #AAB02C #CBD148 #D9DD79

Accessibility & contrast

On white

2.34
#AAB02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#AAB02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB02C
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB02C#FFFFFF#000000##000000
##AAB02C1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aab02c;
/* rgb */ color: rgb(170, 176, 44);
/* oklch */ color: oklch(72.9% 0.147 112.2);
Tailwind
colors: {
  custom: {
    50: '#c7c770',
    500: '#aab02c',
    950: '#000000',
  },
}
SCSS
$custom: #aab02c;
$custom-light: #c7c770;
$custom-dark: #000000;
JSON
{
  "hex": "#aab02c",
  "rgb": {
    "r": 170,
    "g": 176,
    "b": 44
  },
  "hsl": {
    "h": 62.727,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72932,
    "c": 0.14749,
    "h": 112.2
  },
  "luminance": 0.39779
}

Semantic roles & 50–950 ramp

primary
#AAB02C
secondary
#7672C6
accent
#45E34C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB02C

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

Preview Lab → · Contrast checker → · Palette generator →

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