#AAAB30#AAAB30

#AAAB30 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.8% C 0.140 H 109.9°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#AAAB30
RGBrgb(170, 171, 48)
HSLhsl(60, 56%, 43%)
HSVhsv(60, 72%, 67%)
CMYKcmyk(0.6%, 0%, 71.9%, 32.9%)
CIE-LABlab(67.94, -15.14, 59.44)
CIE-LCHlch(67.94, 61.34, 104.29°)
OKLaboklab(71.84% -0.0477 0.1316)
OKLCHoklch(71.84% 0.14 109.9)
XYZxyz(31.6751, 37.8862, 8.4400)
Luminance0.3789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAB30 #3130AB
analogous
#AB6E30 #AAAB30 #6CAB30
triadic
#AAAB30 #30AAAB #AB30AA
tetradic
#AAAB30 #30AB6E #3130AB #AB306C
square
#AAAB30 #30AB6E #3130AB #AB306C
split-complementary
#AAAB30 #306CAB #6E30AB
monochromatic
#4B4B15 #7A7B23 #AAAB30 #CCCD4C #D9DA7B

Accessibility & contrast

On white

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

On black

8.58
#AAAB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAB30
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAB30#FFFFFF#000000##000000
##AAAB301.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A419
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#B6A093
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaab30;
/* rgb */ color: rgb(170, 171, 48);
/* oklch */ color: oklch(71.8% 0.140 109.9);
Tailwind
colors: {
  custom: {
    50: '#c7c371',
    500: '#aaab30',
    950: '#000000',
  },
}
SCSS
$custom: #aaab30;
$custom-light: #c7c371;
$custom-dark: #000000;
JSON
{
  "hex": "#aaab30",
  "rgb": {
    "r": 170,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 60.488,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71839,
    "c": 0.13998,
    "h": 109.9
  },
  "luminance": 0.37885
}

Semantic roles & 50–950 ramp

primary
#AAAB30
secondary
#7574C3
accent
#48DF4A
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAB30

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

Preview Lab → · Contrast checker → · Palette generator →

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