#AABA31#AABA31

#AABA31 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.2% C 0.155 H 116.1°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#AABA31
RGBrgb(170, 186, 49)
HSLhsl(67, 58%, 46%)
HSVhsv(67, 74%, 73%)
CMYKcmyk(8.6%, 0%, 73.7%, 27.1%)
CIE-LABlab(72.15, -22.64, 63.13)
CIE-LCHlch(72.15, 67.07, 109.73°)
OKLaboklab(75.22% -0.0685 0.1396)
OKLCHoklch(75.22% 0.155 116.1)
XYZxyz(34.6917, 43.8861, 9.5485)
Luminance0.4389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABA31 #4131BA
analogous
#BA8531 #AABA31 #65BA31
triadic
#AABA31 #31AABA #BA31AA
tetradic
#AABA31 #31BA85 #4131BA #BA3165
square
#AABA31 #31BA85 #4131BA #BA3165
split-complementary
#AABA31 #3165BA #8531BA
monochromatic
#515917 #7E8A24 #AABA31 #C4D256 #D5DF86

Accessibility & contrast

On white

2.15
#AABA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#AABA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABA31
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABA31#FFFFFF#000000##000000
##AABA311.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B014
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#B5AFA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aaba31;
/* rgb */ color: rgb(170, 186, 49);
/* oklch */ color: oklch(75.2% 0.155 116.1);
Tailwind
colors: {
  custom: {
    50: '#c7ce73',
    500: '#aaba31',
    950: '#000000',
  },
}
SCSS
$custom: #aaba31;
$custom-light: #c7ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#aaba31",
  "rgb": {
    "r": 170,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 67.007,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75218,
    "c": 0.15546,
    "h": 116.1
  },
  "luminance": 0.43886
}

Semantic roles & 50–950 ramp

primary
#AABA31
secondary
#877EC9
accent
#46E258
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AABA31

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

Preview Lab → · Contrast checker → · Palette generator →

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