#AAB731#AAB731

#AAB731 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.5% C 0.152 H 115.0°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#AAB731
RGBrgb(170, 183, 49)
HSLhsl(66, 58%, 45%)
HSVhsv(66, 73%, 72%)
CMYKcmyk(7.1%, 0%, 73.2%, 28.2%)
CIE-LABlab(71.31, -21.16, 62.32)
CIE-LCHlch(71.31, 65.82, 108.75°)
OKLaboklab(74.54% -0.0644 0.1379)
OKLCHoklch(74.54% 0.152 115)
XYZxyz(34.0664, 42.6354, 9.3400)
Luminance0.4264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB731 #3E31B7
analogous
#B78131 #AAB731 #67B731
triadic
#AAB731 #31AAB7 #B731AA
tetradic
#AAB731 #31B781 #3E31B7 #B73167
square
#AAB731 #31B781 #3E31B7 #B73167
split-complementary
#AAB731 #3167B7 #8131B7
monochromatic
#505617 #7D8724 #AAB731 #C5D154 #D5DE84

Accessibility & contrast

On white

2.20
#AAB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#AAB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB731
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB731#FFFFFF#000000##000000
##AAB7311.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE16
Deuteranopia (green-blind)
#C3B03C
Tritanopia (blue-blind)
#B5AC9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aab731;
/* rgb */ color: rgb(170, 183, 49);
/* oklch */ color: oklch(74.5% 0.152 115.0);
Tailwind
colors: {
  custom: {
    50: '#c7cc73',
    500: '#aab731',
    950: '#000000',
  },
}
SCSS
$custom: #aab731;
$custom-light: #c7cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#aab731",
  "rgb": {
    "r": 170,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 65.821,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74539,
    "c": 0.15214,
    "h": 115
  },
  "luminance": 0.42635
}

Semantic roles & 50–950 ramp

primary
#AAB731
secondary
#847CC8
accent
#47E156
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAB731

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

Preview Lab → · Contrast checker → · Palette generator →

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