#AAB123#AAB123

#AAB123 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.1% C 0.153 H 112.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#AAB123
RGBrgb(170, 177, 35)
HSLhsl(63, 67%, 42%)
HSVhsv(63, 80%, 69%)
CMYKcmyk(4%, 0%, 80.2%, 30.6%)
CIE-LABlab(69.55, -18.74, 65.10)
CIE-LCHlch(69.55, 67.74, 106.06°)
OKLaboklab(73.11% -0.0588 0.1413)
OKLCHoklch(73.11% 0.153 112.6)
XYZxyz(32.6042, 40.1125, 7.6148)
Luminance0.4011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB123 #2A23B1
analogous
#B17123 #AAB123 #63B123
triadic
#AAB123 #23AAB1 #B123AA
tetradic
#AAB123 #23B171 #2A23B1 #B12363
square
#AAB123 #23B171 #2A23B1 #B12363
split-complementary
#AAB123 #2363B1 #7123B1
monochromatic
#484B0F #797E19 #AAB123 #D0D839 #DCE26C

Accessibility & contrast

On white

2.33
#AAB123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#AAB123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB123
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB123#FFFFFF#000000##000000
##AAB1231.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BFAB31
Tritanopia (blue-blind)
#B6A697
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aab123;
/* rgb */ color: rgb(170, 177, 35);
/* oklch */ color: oklch(73.1% 0.153 112.6);
Tailwind
colors: {
  custom: {
    50: '#c7c86c',
    500: '#aab123',
    950: '#000000',
  },
}
SCSS
$custom: #aab123;
$custom-light: #c7c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#aab123",
  "rgb": {
    "r": 170,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 62.958,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.73108,
    "c": 0.15301,
    "h": 112.6
  },
  "luminance": 0.40112
}

Semantic roles & 50–950 ramp

primary
#AAB123
secondary
#6C68C8
accent
#3EEA46
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #AAB123

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

Preview Lab → · Contrast checker → · Palette generator →

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