#AAB131#AAB131

#AAB131 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.2% C 0.146 H 112.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#AAB131
RGBrgb(170, 177, 49)
HSLhsl(63, 57%, 44%)
HSVhsv(63, 72%, 69%)
CMYKcmyk(4%, 0%, 72.3%, 30.6%)
CIE-LABlab(69.62, -18.15, 60.71)
CIE-LCHlch(69.62, 63.36, 106.64°)
OKLaboklab(73.19% -0.056 0.1344)
OKLCHoklch(73.19% 0.146 112.6)
XYZxyz(32.8551, 40.2128, 8.9363)
Luminance0.4021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB131 #3831B1
analogous
#B17831 #AAB131 #6AB131
triadic
#AAB131 #31AAB1 #B131AA
tetradic
#AAB131 #31B178 #3831B1 #B1316A
square
#AAB131 #31B178 #3831B1 #B1316A
split-complementary
#AAB131 #316AB1 #7831B1
monochromatic
#4E5116 #7C8124 #AAB131 #C8CF51 #D7DC80

Accessibility & contrast

On white

2.32
#AAB131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#AAB131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB131
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB131#FFFFFF#000000##000000
##AAB1311.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA919
Deuteranopia (green-blind)
#BFAB3B
Tritanopia (blue-blind)
#B6A698
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aab131;
/* rgb */ color: rgb(170, 177, 49);
/* oklch */ color: oklch(73.2% 0.146 112.6);
Tailwind
colors: {
  custom: {
    50: '#c7c872',
    500: '#aab131',
    950: '#000000',
  },
}
SCSS
$custom: #aab131;
$custom-light: #c7c872;
$custom-dark: #000000;
JSON
{
  "hex": "#aab131",
  "rgb": {
    "r": 170,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 63.281,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73188,
    "c": 0.14564,
    "h": 112.6
  },
  "luminance": 0.40212
}

Semantic roles & 50–950 ramp

primary
#AAB131
secondary
#7D79C5
accent
#48E050
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB131

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

Preview Lab → · Contrast checker → · Palette generator →

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