#AAB031#AAB031

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

Color values

HEX#AAB031
RGBrgb(170, 176, 49)
HSLhsl(63, 56%, 44%)
HSVhsv(63, 72%, 69%)
CMYKcmyk(3.4%, 0%, 72.2%, 31%)
CIE-LABlab(69.34, -17.64, 60.44)
CIE-LCHlch(69.34, 62.96, 106.27°)
OKLaboklab(72.96% -0.0546 0.1339)
OKLCHoklch(72.96% 0.145 112.2)
XYZxyz(32.6583, 39.8192, 8.8707)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB031 #3731B0
analogous
#B07731 #AAB031 #6BB031
triadic
#AAB031 #31AAB0 #B031AA
tetradic
#AAB031 #31B077 #3731B0 #B0316B
square
#AAB031 #31B077 #3731B0 #B0316B
split-complementary
#AAB031 #316BB0 #7731B0
monochromatic
#4E5016 #7C8024 #AAB031 #C8CE50 #D7DC80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB031#FFFFFF#000000##000000
##AAB0311.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)
#BEA819
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#B6A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aab031;
/* rgb */ color: rgb(170, 176, 49);
/* oklch */ color: oklch(73.0% 0.145 112.2);
Tailwind
colors: {
  custom: {
    50: '#c7c772',
    500: '#aab031',
    950: '#000000',
  },
}
SCSS
$custom: #aab031;
$custom-light: #c7c772;
$custom-dark: #000000;
JSON
{
  "hex": "#aab031",
  "rgb": {
    "r": 170,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 62.835,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72964,
    "c": 0.14458,
    "h": 112.2
  },
  "luminance": 0.39818
}

Semantic roles & 50–950 ramp

primary
#AAB031
secondary
#7C78C5
accent
#48E04F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB031

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

Preview Lab → · Contrast checker → · Palette generator →

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