#AAB628#AAB628

#AAB628 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.3% C 0.156 H 114.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#AAB628
RGBrgb(170, 182, 40)
HSLhsl(65, 64%, 44%)
HSVhsv(65, 78%, 71%)
CMYKcmyk(6.6%, 0%, 78%, 28.6%)
CIE-LABlab(70.98, -21.05, 64.93)
CIE-LCHlch(70.98, 68.25, 107.97°)
OKLaboklab(74.26% -0.0648 0.1418)
OKLCHoklch(74.26% 0.156 114.6)
XYZxyz(33.6895, 42.1558, 8.3692)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB628 #3428B6
analogous
#B67B28 #AAB628 #63B628
triadic
#AAB628 #28AAB6 #B628AA
tetradic
#AAB628 #28B67B #3428B6 #B62863
square
#AAB628 #28B67B #3428B6 #B62863
split-complementary
#AAB628 #2863B6 #7B28B6
monochromatic
#4C5212 #7B841D #AAB628 #CAD645 #D8E177

Accessibility & contrast

On white

2.23
#AAB628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#AAB628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB628
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB628#FFFFFF#000000##000000
##AAB6281.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF35
Tritanopia (blue-blind)
#B6AB9C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aab628;
/* rgb */ color: rgb(170, 182, 40);
/* oklch */ color: oklch(74.3% 0.156 114.6);
Tailwind
colors: {
  custom: {
    50: '#c7cb6f',
    500: '#aab628',
    950: '#000000',
  },
}
SCSS
$custom: #aab628;
$custom-light: #c7cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aab628",
  "rgb": {
    "r": 170,
    "g": 182,
    "b": 40
  },
  "hsl": {
    "h": 65.07,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74261,
    "c": 0.1559,
    "h": 114.6
  },
  "luminance": 0.42155
}

Semantic roles & 50–950 ramp

primary
#AAB628
secondary
#7871C9
accent
#41E74F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB628

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

Preview Lab → · Contrast checker → · Palette generator →

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