#AABB31#AABB31

#AABB31 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.4% C 0.157 H 116.5°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#AABB31
RGBrgb(170, 187, 49)
HSLhsl(67, 58%, 46%)
HSVhsv(67, 74%, 73%)
CMYKcmyk(9.1%, 0%, 73.8%, 26.7%)
CIE-LABlab(72.43, -23.13, 63.40)
CIE-LCHlch(72.43, 67.49, 110.04°)
OKLaboklab(75.44% -0.0698 0.1401)
OKLCHoklch(75.44% 0.157 116.5)
XYZxyz(34.9032, 44.3089, 9.6189)
Luminance0.4431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABB31 #4231BB
analogous
#BB8731 #AABB31 #65BB31
triadic
#AABB31 #31AABB #BB31AA
tetradic
#AABB31 #31BB87 #4231BB #BB3165
square
#AABB31 #31BB87 #4231BB #BB3165
split-complementary
#AABB31 #3165BB #8731BB
monochromatic
#525A18 #7E8B24 #AABB31 #C3D356 #D5E087

Accessibility & contrast

On white

2.13
#AABB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#AABB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABB31
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABB31#FFFFFF#000000##000000
##AABB311.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B114
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#B5B0A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #aabb31;
/* rgb */ color: rgb(170, 187, 49);
/* oklch */ color: oklch(75.4% 0.157 116.5);
Tailwind
colors: {
  custom: {
    50: '#c7cf73',
    500: '#aabb31',
    950: '#000000',
  },
}
SCSS
$custom: #aabb31;
$custom-light: #c7cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#aabb31",
  "rgb": {
    "r": 170,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 67.391,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75445,
    "c": 0.15656,
    "h": 116.5
  },
  "luminance": 0.44308
}

Semantic roles & 50–950 ramp

primary
#AABB31
secondary
#887FC9
accent
#46E259
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AABB31

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

Preview Lab → · Contrast checker → · Palette generator →

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