#AAB428#AAB428

#AAB428 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.8% C 0.154 H 113.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#AAB428
RGBrgb(170, 180, 40)
HSLhsl(64, 64%, 43%)
HSVhsv(64, 78%, 71%)
CMYKcmyk(5.6%, 0%, 77.8%, 29.4%)
CIE-LABlab(70.42, -20.06, 64.42)
CIE-LCHlch(70.42, 67.47, 107.29°)
OKLaboklab(73.81% -0.0621 0.1407)
OKLCHoklch(73.81% 0.154 113.8)
XYZxyz(33.2829, 41.3425, 8.2337)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB428 #3228B4
analogous
#B47828 #AAB428 #64B428
triadic
#AAB428 #28AAB4 #B428AA
tetradic
#AAB428 #28B478 #3228B4 #B42864
square
#AAB428 #28B478 #3228B4 #B42864
split-complementary
#AAB428 #2864B4 #7828B4
monochromatic
#4B5012 #7B821D #AAB428 #CBD544 #D9E176

Accessibility & contrast

On white

2.27
#AAB428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#AAB428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB428
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB428#FFFFFF#000000##000000
##AAB4281.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C1AD35
Tritanopia (blue-blind)
#B6A99A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab428;
/* rgb */ color: rgb(170, 180, 40);
/* oklch */ color: oklch(73.8% 0.154 113.8);
Tailwind
colors: {
  custom: {
    50: '#c7ca6e',
    500: '#aab428',
    950: '#000000',
  },
}
SCSS
$custom: #aab428;
$custom-light: #c7ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab428",
  "rgb": {
    "r": 170,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 64.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73809,
    "c": 0.15379,
    "h": 113.8
  },
  "luminance": 0.41342
}

Semantic roles & 50–950 ramp

primary
#AAB428
secondary
#7670C8
accent
#41E74D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB428

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

Preview Lab → · Contrast checker → · Palette generator →

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