#AABB20#AABB20

#AABB20 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.4% C 0.165 H 116.3°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#AABB20
RGBrgb(170, 187, 32)
HSLhsl(67, 71%, 43%)
HSVhsv(67, 83%, 73%)
CMYKcmyk(9.1%, 0%, 82.9%, 26.7%)
CIE-LABlab(72.36, -23.80, 68.32)
CIE-LCHlch(72.36, 72.35, 109.21°)
OKLaboklab(75.36% -0.073 0.1477)
OKLCHoklch(75.36% 0.165 116.3)
XYZxyz(34.6096, 44.1915, 8.0728)
Luminance0.4419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABB20 #3120BB
analogous
#BB7F20 #AABB20 #5CBB20
triadic
#AABB20 #20AABB #BB20AA
tetradic
#AABB20 #20BB7F #3120BB #BB205C
square
#AABB20 #20BB7F #3120BB #BB205C
split-complementary
#AABB20 #205CBB #7F20BB
monochromatic
#4B520E #7A8717 #AABB20 #CCDD3B #D9E66F

Accessibility & contrast

On white

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

On black

9.84
#AABB20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABB20
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABB20#FFFFFF#000000##000000
##AABB201.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C7B231
Tritanopia (blue-blind)
#B5B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aabb20;
/* rgb */ color: rgb(170, 187, 32);
/* oklch */ color: oklch(75.4% 0.165 116.3);
Tailwind
colors: {
  custom: {
    50: '#c7cf6c',
    500: '#aabb20',
    950: '#000000',
  },
}
SCSS
$custom: #aabb20;
$custom-light: #c7cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#aabb20",
  "rgb": {
    "r": 170,
    "g": 187,
    "b": 32
  },
  "hsl": {
    "h": 66.581,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.75357,
    "c": 0.16472,
    "h": 116.3
  },
  "luminance": 0.44191
}

Semantic roles & 50–950 ramp

primary
#AABB20
secondary
#756ACD
accent
#3AEE4E
background
#FCFCF6
surface
#F9F9EC
border
#D2D2C7
text
#141308
muted
#82827A

Preview Lab

Preview with #AABB20

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

Preview Lab → · Contrast checker → · Palette generator →

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