#AABF31#AABF31

#AABF31 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.4% C 0.161 H 117.9°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#AABF31
RGBrgb(170, 191, 49)
HSLhsl(69, 59%, 47%)
HSVhsv(69, 74%, 75%)
CMYKcmyk(11%, 0%, 74.3%, 25.1%)
CIE-LABlab(73.56, -25.09, 64.47)
CIE-LCHlch(73.56, 69.18, 111.26°)
OKLaboklab(76.35% -0.0752 0.1424)
OKLCHoklch(76.35% 0.161 117.9)
XYZxyz(35.7636, 46.0298, 9.9057)
Luminance0.4603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABF31 #4631BF
analogous
#BF8D31 #AABF31 #63BF31
triadic
#AABF31 #31AABF #BF31AA
tetradic
#AABF31 #31BF8D #4631BF #BF3163
square
#AABF31 #31BF8D #4631BF #BF3163
split-complementary
#AABF31 #3163BF #8D31BF
monochromatic
#535E18 #7F8E25 #AABF31 #C2D459 #D4E18A

Accessibility & contrast

On white

2.06
#AABF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#AABF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABF31
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABF31#FFFFFF#000000##000000
##AABF311.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB411
Deuteranopia (green-blind)
#CAB53D
Tritanopia (blue-blind)
#B4B4A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #aabf31;
/* rgb */ color: rgb(170, 191, 49);
/* oklch */ color: oklch(76.4% 0.161 117.9);
Tailwind
colors: {
  custom: {
    50: '#c7d274',
    500: '#aabf31',
    950: '#000000',
  },
}
SCSS
$custom: #aabf31;
$custom-light: #c7d274;
$custom-dark: #000000;
JSON
{
  "hex": "#aabf31",
  "rgb": {
    "r": 170,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 68.873,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76353,
    "c": 0.16105,
    "h": 117.9
  },
  "luminance": 0.46029
}

Semantic roles & 50–950 ramp

primary
#AABF31
secondary
#8C81CB
accent
#45E25D
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #AABF31

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

Preview Lab → · Contrast checker → · Palette generator →

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